assertEquals(ref.getProperty("message"), "message");
assertNull(ref.getProperty(".private"));
assertNull(ref.getProperty("private"));
// Check the the .private property has the right value
ConfigurationHandlerDescription desc = (ConfigurationHandlerDescription) ipojoHelper.getArchitectureByName(configuration.getPid())
.getInstanceDescription().getHandlerDescription("org.apache.felix.ipojo:properties");
PropertyDescription prop = desc.getPropertyByName(".private");
assertEquals(prop.getValue(), "wow");
// Update the property
props.put("message", "message2");
props.put("propagated", "propagated2");
props.put(".private", "wow2");
configuration.update(props);
grace();
ref = ipojoHelper.getServiceReferenceByName(FooService.class.getName(), configuration.getPid());
// Check the propagation
assertEquals(ref.getProperty("propagated"), "propagated2");
assertEquals(ref.getProperty("message"), "message2");
desc = (ConfigurationHandlerDescription) ipojoHelper.getArchitectureByName(configuration.getPid())
.getInstanceDescription().getHandlerDescription("org.apache.felix.ipojo:properties");
prop = desc.getPropertyByName(".private");
assertEquals(prop.getValue(), "wow2");
configuration.delete();
}