* Test that the listeners registered on the tested instance are called when the instance is reconfigured.
*/
@Test
public void testConfigurationListener() {
// Register listeners
ConfigurationListener l1 = new CountingListener();
fooConfig.addListener(l1);
ConfigurationListener l2 = new ThrowingListener();
fooConfig.addListener(l2);
ConfigurationListener l3 = new AppendingListener();
fooConfig.addListener(l3);
// Trigger a manual reconfiguration
Hashtable<String, Object> conf = new Hashtable<String, Object>();
conf.put("int", 40);