registry.addUsertoGroup(user, "group1", "user2");
registry.addUsertoGroup(user, "group2", "user3");
//
//registry.addAGroupToGroup(user, "group1", "group2");
String[] data = registry.listGroups(user);
TestUtils.testCantainment(data, "group1");
TestUtils.testCantainment(data, "group2");
data = registry.listGroupsGivenAUser(user, "user1");
TestUtils.testCantainment(data, "group1");