Group extends DSpaceObject implements DSpaceObjectLegacySupport { void setPermanent(boolean permanence) { permanent = permanence; setModified(); } protected  Group(); List<EPerson> getMembers(); List<Group> getMemberGroups(); @Override boolean equals(Object obj); @Override int hashCode(); @Override int getType(); @Override String getName(); boolean isGroupsChanged(); void clearGroupsChanged(); @Override Integer getLegacyId(); List<WorkspaceItem> getSupervisedItems(); Boolean isPermanent(); @Transient
    static final String ANONYMOUS; @Transient
    static final String ADMIN; }
@Test public void setPermanent() throws SQLException, AuthorizeException, IOException { Group permaGroup = new Group(); permaGroup.setPermanent(true); assertTrue("setPermanent(true) should be reflected in the group's state", permaGroup.isPermanent()); permaGroup.setPermanent(false); assertFalse("setPermanent(false) should be reflected in the group's state", permaGroup.isPermanent()); }