WorkspaceItem implements InProgressSubmission, Serializable { @Override public Integer getID() { return workspaceItemId; } protected  WorkspaceItem(); @Override Integer getID(); int getStageReached(); void setStageReached(int v); int getPageReached(); void setPageReached(int v); @Override boolean equals(Object o); @Override int hashCode(); @Override Item getItem(); @Override Collection getCollection(); @Override EPerson getSubmitter(); @Override boolean hasMultipleFiles(); @Override void setMultipleFiles(boolean b); @Override boolean hasMultipleTitles(); @Override void setMultipleTitles(boolean b); @Override boolean isPublishedBefore(); @Override void setPublishedBefore(boolean b); List<Group> getSupervisorGroups();  }
@Test public void testGetID() { assertTrue("testGetID 0", wi.getID() >= 0); }
@Test public void testDeleteAllAuth() throws Exception { int id = wi.getID(); workspaceItemService.deleteAll(context, wi); WorkspaceItem found = workspaceItemService.find(context, id); assertThat("testDeleteAllAuth 0", found, nullValue()); }