editorGroup.save();
adminGroup.save();
adminGroup.add(user);
user.save();
FileGroupManager groupManager = null;
UserType[] userTypes = { FileAccreditableManager.getDefaultUserType() };
FileUserManager userManager = FileUserManager.instance(configDir, userTypes);
assertNotNull(userManager);
groupManager = FileGroupManager.instance(configDir);
assertNotNull(groupManager);
Group fetchedGroup = groupManager.getGroup(editorGroupId);
assertTrue(editorGroup.equals(fetchedGroup));
fetchedGroup = groupManager.getGroup(adminGroupId);
assertTrue(adminGroup.equals(fetchedGroup));
}