check.check();
// CheckService not available
assertNull(getServiceReference(CheckService.class.getName()));
assertNotNull(getServiceReference(FooService.class.getName()));
FooService fs = (FooService) getServiceObject(FooService.class.getName(), null);
fs.foo();
assertNull(getServiceReference(CheckService.class.getName()));
assertNull(getServiceReference(FooService.class.getName()));
ci.dispose();