WorkspaceItem implements InProgressSubmission, Serializable, ReloadableEntity<Integer> { @Override public void setPublishedBefore(boolean b) { publishedBefore = b; } 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 testSetPublishedBefore() { wi.setPublishedBefore(true); assertTrue("testSetPublishedBefore 0", wi.isPublishedBefore()); }