Run { public State getState() { return workflowReport.getState(); } Run(RunProfile runProfile);  Run(String id, Bundle bundle); String getID(); State getState(); Bundle getDataBundle(); WorkflowReport getWorkflowReport(); Workflow getWorkflow(); Profile getProfile(); void delete(); void start(); void pause(); void resume(); void cancel();  }
@Test public void getState() throws Exception { assertEquals(State.COMPLETED, run.getState()); }