assertTrue("Check ci", ci.getState() == ComponentInstance.VALID);
ServiceReference ref = Utils.getServiceReferenceByName(getContext(), BazService.class.getName(), "mon_coeur");
assertNotNull("Check ref",ref);
BazService bs = (BazService) getContext().getService(ref);
assertTrue("Check invocation", bs.foo());
getContext().ungetService(ref);
ref = Utils.getServiceReferenceByName(getContext(), FooService.class.getName(), "mon_coeur");
assertNotNull("Check ref 2 ",ref);
FooService fs = (FooService) getContext().getService(ref);
assertTrue("Check invocation", fs.foo());