@Test
public void testSimpleExposition() {
ServiceReference ref = ipojoHelper.getServiceReferenceByName(FooService.class.getName(), fooProviderSimple.getInstanceName());
assertNotNull("Check the availability of the FS from " + fooProviderSimple.getInstanceName(), ref);
FooService fs = (FooService) osgiHelper.getRawServiceObject(ref);
assertTrue("Check fs invocation", fs.foo());
fooProviderSimple.stop();
assertFalse("Check the absence of the FS from " + fooProviderSimple.getInstanceName(),
ipojoHelper.isServiceAvailableByName(FooService.class.getName(), fooProviderSimple.getInstanceName()));
}