assertEquals("check both bind callback invocation -1", ((Integer) props.get("bothB")).intValue(), 0);
assertEquals("check both unbind callback invocation -1", ((Integer) props.get("bothU")).intValue(), 0);
assertEquals("check modify -1 (" + ((Integer) props.get("modified")).intValue() + ")", ((Integer) props.get("modified")).intValue(), 1);
ServiceReference ref = ipojoHelper.getServiceReferenceByName(FooService.class.getName(), fooProvider.getInstanceName());
FooService fs = (FooService) osgiHelper.getRawServiceObject(ref);
fs.foo(); // Update
props = cs.getProps();
//Check properties
assertEquals("check modify -1.1", ((Integer) props.get("modified")).intValue(), 3);