// check mapped users and recursion
assertEquals("Two users in mapped usergroup expected.", 2, userGroupPrime.getUsers().size());
iterator = userGroupPrime.getUsers().iterator();
while (iterator.hasNext()) {
UserPrime userPrime = (UserPrime) iterator.next();
assertNotNull(userPrime);
assertNotNull(userPrime.getUserGroup());
assertTrue(userPrime.getUserGroup() == userGroupPrime); // same reference
}
}