FooService fs = (FooService) getServiceObject(refFoo);
assertTrue("Check fs invocation", fs.foo());
fs = null;
BarService bs = (BarService) getServiceObject(refBar);
assertTrue("Check bs invocation", bs.bar());
bs = null;
// Check properties
String baz1 = (String) refFoo.getProperty("baz");
String baz2 = (String) refBar.getProperty("baz");