}
JoinAdmin joinAdmin = JoinAdminUtil.getJoinAdmin(discoverySrvc);
String[] oldGroups = joinAdmin.getLookupGroups();
GroupsUtil.displayGroupSet(oldGroups, "oldGroups", Level.FINE);
GroupsUtil.displayGroupSet(removeGroupSet, "removeGroups", Level.FINE);
joinAdmin.removeLookupGroups(removeGroupSet);
String[] newGroups = joinAdmin.getLookupGroups();
GroupsUtil.displayGroupSet(newGroups, "newGroups", Level.FINE);
if (!GroupsUtil.compareGroupSets(expectedGroups,newGroups,Level.FINE)) {
throw new TestException("Group sets are not equivalent");
}