AbstractWorkflowItem implements WorkflowItem, WorkflowStatusListener { @Override public final ProcessStatus getStatus() { return status; } AbstractWorkflowItem(); protected  AbstractWorkflowItem(ProcessStatus status); @Override void addWorkflowStatusListener(WorkflowStatusListener l); @Override final ProcessStatus getStatus(); @Override final void setStatus(ProcessStatus newStatus); @Override WorkflowItem[] getItems(); @Override Object[] getJobIds(); @Override void handleStatusChanged(WorkflowStatusEvent event); @Override Date getSubmitTime(); @Override Date getStartTime(); @Override Date getStopTime(); void setSubmitTime(Date submitTime); void setStartTime(Date startTime); void setStopTime(Date stopTime); WorkflowStatusListener[] getWorkflowStatusListeners();  }
@Test public void testInitialStatusIsUnknown() { assertEquals(ProcessStatus.UNKNOWN, workflow.getStatus()); }