use of org.apache.felix.scr.integration.components.MutatingServiceConsumer in project felix by apache.
the class MutablePropertiesTest method test_mutable_properties_consumer.
@Test
public void test_mutable_properties_consumer() throws Exception {
ServiceReference<MutatingServiceConsumer> mscRef = bundleContext.getServiceReference(MutatingServiceConsumer.class);
MutatingServiceConsumer msc = bundleContext.getService(mscRef);
assertMsc(msc, null, null, null);
String componentName = "components.mutable.properties.return2";
ComponentDescriptionDTO cd = findComponentDescriptorByName(componentName);
enableAndCheck(cd);
assertMsc(msc, true, true, null);
}
Aggregations