// Check the service property
// Not exposed here:
assertNull("Classes -0", ref.getProperty("classes"));
CheckService check = (CheckService) getContext().getService(ref);
assertTrue(check.check());
// Property exposed now.
ref = Utils.getServiceReferenceByName(getContext(), CheckService.class.getName(), ci.getInstanceName());
Class[] str = (Class[]) ref.getProperty("classes");
assertEquals("Classes size", 1, str.length);