boolean testPassed = true;
for (Iterator<IEntityGroup> i=allParents.iterator(); i.hasNext() && testPassed;)
{
parentGroup = i.next();
GroupDefinition parentGroupDef = (GroupDefinition) convertEntityToGroupDef(parentGroup);
testPassed = parentGroupDef.test(person);
}
if (!testPassed && logger.isWarnEnabled()) {
StringBuffer sb = new StringBuffer();
sb.append("PAGS group=").append(group.getKey());