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