p.put("int", new Integer("4"));
f.updated("okkkk", p);
ref = Utils.getServiceReferenceByName(getContext(), FooService.class.getName(), "okkkk");
Integer test = (Integer) ref.getProperty("int");
assertEquals("Check instance modification", 4, test.intValue());
f.deleted("okkkk");
ref = Utils.getServiceReferenceByName(getContext(), FooService.class.getName(), "okkkk");
assertNull("Check instance deletion", ref);
} catch (ConfigurationException e) {
fail("An acceptable configuration is rejected : " + e.getMessage());
}