{
cc.addConfiguration(conf1);
String key = "configuration.loaded";
assertTrue("Wrong value for property", cc
.getBoolean(key));
EventListenerTestImpl listener = new EventListenerTestImpl(cc);
cc.addEventListener(ConfigurationEvent.ANY, listener);
cc.clearProperty(key);
assertFalse("Key still present", cc.containsKey(key));
listener.checkEvent(ConfigurationEvent.CLEAR_PROPERTY, key, null, true);
listener.checkEvent(ConfigurationEvent.CLEAR_PROPERTY, key, null, false);
listener.done();
}