// Check service providing
ServiceReference cs_ref = Utils.getServiceReferenceByName(getContext(), CheckService.class.getName(), instance.getInstanceName());
assertNotNull("Check CheckService availability", cs_ref);
CheckService cs = (CheckService) getContext().getService(cs_ref);
assertTrue("check CheckService invocation", cs.check());
assertEquals("Check pojo count - 2", id_dep.getCreatedObjects().length, 1);
// Check int property
Integer index = (Integer) (cs.getProps().get("int"));
assertEquals("Check int property - 1 (" + index.intValue() +")", index.intValue(), 1);