@Override public int getUserCountHavingPropertyValue(String propname, String propvalue) throws IOException { return service.getUserCountHavingPropertyValue(propname, propvalue); }
/** READ_LOCK */ @Override public int getUserCountHavingPropertyValue(String propname, String propvalue) throws IOException { readLock(); try { return getService().getUserCountHavingPropertyValue(propname, propvalue); } finally { readUnLock(); } } }
userGroupService.getUserCount(), userGroupService.getUserCountNotHavingProperty("unknown")); assertEquals(0, userGroupService.getUserCountHavingPropertyValue("tel", "123")); userGroupService.getUserCount() - 1, userGroupService.getUserCountNotHavingProperty("tel")); assertEquals(1, userGroupService.getUserCountHavingPropertyValue("tel", "12-34-38"));
@Test public void testUserCountHavingPropertyValue() throws Exception { assertEquals(1, service.getUserCountHavingPropertyValue("telephoneNumber", "2")); } }