for (IPersonAttributesGroupTestDefinition test: tests) {
if (!AD_HOC_GROUP_TESTER.equals(test.getTesterClassName())) {
return false;
}
}
<BUG>return group.getMembers().isEmpty();
}</BUG>
private void updateAdHocTesters(IPerson user, IPersonAttributesGroupTestGroupDefinition testGroup, Set<String> includes, Set<String> excludes) {
testGroup.setTests(EMPTY_TESTS);
for (String group: includes) {

for (IPersonAttributesGroupTestDefinition test: tests) {
if (!AD_HOC_GROUP_TESTER.equals(test.getTesterClassName())) {
return false;
}
}
return true;
}
private void updateAdHocTesters(IPerson user, IPersonAttributesGroupTestGroupDefinition testGroup, Set<String> includes, Set<String> excludes) {
testGroup.setTests(EMPTY_TESTS);
for (String group: includes) {
