Logger.getLogger(FireWorkflowEngineTest.class.getName()).log(Level.SEVERE, null, ex);
}
}
});
IWorkItem wi = persistenceService.findWorkItemById(workItem1Id);
assertEquals(IWorkItem.COMPLETED, wi.getState().intValue());
taskInstanceList = persistenceService.findTaskInstancesForProcessInstance(currentProcessInstance.getId(), "JumpTo.Activity2");
assertNotNull(taskInstanceList);
assertEquals(1,taskInstanceList.size());