Collection extends DSpaceObject implements DSpaceObjectLegacySupport { public Item getTemplateItem() throws SQLException { return template; } protected  Collection(); @Override String getName(); Bitstream getLogo(); Group getSubmitters(); Group getAdministrators(); Group getWorkflowStep1(); Group getWorkflowStep2(); Group getWorkflowStep3(); String getLicenseCollection(); void setLicense(Context context, String license); Item getTemplateItem(); List<Community> getCommunities(); @Override boolean equals(Object other); @Override int hashCode(); @Override int getType(); void setWorkflowGroup(Context context, int step, Group g); @Override Integer getLegacyId(); @Transient
    static final String COPYRIGHT_TEXT; @Transient
    static final String INTRODUCTORY_TEXT; @Transient
    static final String SHORT_DESCRIPTION; @Transient
    static final String SIDEBAR_TEXT; @Transient
    static final String PROVENANCE_TEXT; }
@Test public void testGetTemplateItem() throws Exception { assertThat("testGetTemplateItem 0", collection.getTemplateItem(), nullValue()); }
@Test public void testCreateTemplateItemAuth() throws Exception { new NonStrictExpectations(AuthorizeUtil.class) {{ AuthorizeUtil.authorizeManageTemplateItem((Context) any, (Collection) any); result = null; }}; itemService.createTemplateItem(context, collection); assertThat("testCreateTemplateItemAuth 0",collection.getTemplateItem(), notNullValue()); }
@Test public void testRemoveTemplateItemAuth() throws Exception { new NonStrictExpectations(AuthorizeUtil.class) {{ AuthorizeUtil.authorizeManageTemplateItem((Context) any, (Collection) any); result = null; }}; collectionService.removeTemplateItem(context, collection); assertThat("testRemoveTemplateItemAuth 0",collection.getTemplateItem(), nullValue()); }