conf.put("foo", "oof");
conf.put("bar", "0");
assertEquals("Check instance1 state (2)", ComponentInstance.VALID,instance1.getState());
ManagedService ms = (ManagedService) getContext().getService(msRef);
PrimitiveHandler ph = (PrimitiveHandler) ms;
assertSame("Check the correct instance", ph.getInstanceManager(), instance1);
try {
ms.updated(conf);
} catch (ConfigurationException e) { fail("Configuration Exception : " + e); }
assertEquals("Check instance1 state (3)", ComponentInstance.VALID,instance1.getState());