Group extends AbstractIdentityType implements RoleAssignable { @AttributeProperty @StereotypeProperty(IDENTITY_GROUP_NAME) public String getName() { return name; } Group();  Group(String name);  Group(String name, Group parentGroup); @AttributeProperty @StereotypeProperty(IDENTITY_GROUP_NAME) String getName(); void setName(String name); @AttributeProperty @Unique String getPath(); void setPath(String path); @InheritsPrivileges @AttributeProperty Group getParentGroup(); @AttributeProperty void setParentGroup(Group group); static final QueryParameter NAME; static final QueryParameter PATH; static final QueryParameter PARENT; static final String PATH_SEPARATOR; }
@Test public void constructor_noArg() { Group group = new Group(); assertNull("No arg constructor", group.getName()); }
@Test public void constructor_name() { Group group = new Group("myGroup"); assertEquals("myGroup", group.getName()); }