/**
  * Test method for {@link
  * org.apache.taverna.platform.report.StatusReport#setCreatedDate(java.util.Date)}.
  */
 @Test
 public void testSetCreatedDate() {
   Date now = new Date();
   statusReport.setCreatedDate(now);
   assertEquals(now, statusReport.getCreatedDate());
   assertEquals(State.CREATED, statusReport.getState());
 }
 /** Test method for {@link org.apache.taverna.platform.report.StatusReport#StatusReport()}. */
 @Test
 public void testStatusReport() {
   Date preCreationTime = new Date();
   statusReport = new StatusReport<Workflow, StatusReport<?, ?>>(null);
   assertFalse(statusReport.getCreatedDate().before(preCreationTime));
   assertFalse(statusReport.getCreatedDate().after(new Date()));
   assertEquals(State.CREATED, statusReport.getState());
   assertTrue(statusReport.getPausedDates().isEmpty());
   assertTrue(statusReport.getResumedDates().isEmpty());
   assertNull(statusReport.getCancelledDate());
   assertNull(statusReport.getCompletedDate());
   assertNull(statusReport.getFailedDate());
   assertNull(statusReport.getPausedDate());
   assertNull(statusReport.getResumedDate());
   assertNull(statusReport.getStartedDate());
 }
 /** Test method for {@link org.apache.taverna.platform.report.StatusReport#getCreatedDate()}. */
 @Test
 public void testGetCreatedDate() {
   assertNotNull(statusReport.getCreatedDate());
   assertFalse(statusReport.getCreatedDate().after(new Date()));
   assertEquals(statusReport.getCreatedDate(), statusReport.getCreatedDate());
 }