public void testSimpleExposition() {
ServiceReference ref = helper.getServiceReferenceByName(FooService.class.getName(), fooProviderSimple.getInstanceName());
assertNotNull("Check the availability of the FS from "+fooProviderSimple.getInstanceName(), ref);
FooService fs = (FooService) getServiceObject(ref);
assertTrue("Check fs invocation", fs.foo());
fs = null;
fooProviderSimple.stop();
ref = helper.getServiceReferenceByName(FooService.class.getName(), fooProviderSimple.getInstanceName());
assertNull("Check the absence of the FS from "+fooProviderSimple.getInstanceName(), ref);