verifyQueryResults(query, 3);
query = identityService.createUserQuery().memberOfGroup("frogs");
verifyQueryResults(query, 1);
User result = query.singleResult();
assertEquals("kermit", result.getId());
}
public void testQueryByInvalidMemberOf() {
UserQuery query = identityService.createUserQuery().memberOfGroup("invalid");