assertEquals("Check bar equality -2", barP, new Integer(2));
assertEquals("Check baz equality -2", bazP, "zab");
// Get Service
FooService fs = (FooService) context.getService(fooRef);
Integer updated = (Integer) fs.fooProps().get("updated");
Dictionary dict = (Dictionary) fs.fooProps().get("lastupdated");
assertEquals("Check updated", 1, updated.intValue());
System.out.println("Dictionary : " + dict);
assertEquals("Check last updated", 3, dict.size()); // foo bar and baz as a service prooperties.