Thread.sleep (5000);
assertTrue("Process state should be closed.completed.normal, is "
+ process.state(),
process.state().startsWith("closed.completed.normal"));
assertTrue("Process workflow state should be closed, is "
+ process.workflowState(),
process.workflowState().equals (State.CLOSED));
}
/**
* Remove a given process from the database.