// TODO: add tests for 'findPrincipals'
public void testUnknownUserMemberShip() throws RepositoryException {
Principal userPrincipal = getTestPrincipal();
PrincipalIterator pit = principalProvider.getGroupMembership(userPrincipal);
// unknown user must be in 'everyone' group but nothing else
assertTrue(pit.hasNext());
assertEquals(EveryonePrincipal.getInstance(), pit.nextPrincipal());
assertFalse(pit.hasNext());
}