Group group = new SimpleGroup("group");
assertFalse(group.members().hasMoreElements());
group.addMember(new SimpleGroup("group", "friend"));
Enumeration<? extends Principal> members = group.members();
assertEquals(new SimpleGroup("group", "friend"), members.nextElement());
assertFalse(members.hasMoreElements());
group.removeMember(new SimpleGroup("group", "friend"));
assertFalse(group.members().hasMoreElements());