assertNotNull(tokensList4Payment);
assertEquals(1, tokensList4Payment.size());
assertEquals(Boolean.TRUE,((IToken)tokensList4Payment.get(0)).isAlive());
// assertEquals(((TaskInstance)wi.getTaskInstance()).getTokenId(),((IToken)tokensList4Payment.get(0)).getId());
List haveDoneWorkItemsList = persistenceService.findHaveDoneWorkItems(CurrentUserAssignmentHandlerMock.ACTOR_ID, "Goods_Deliver_Process", "Goods_Deliver_Process.PrepareGoodsTask");
assertNotNull(haveDoneWorkItemsList);
assertEquals(1, haveDoneWorkItemsList.size());
IWorkItem prepareGoodsWorkItem = ((IWorkItem) haveDoneWorkItemsList.get(0));
prepareGoodsWorkItemId = prepareGoodsWorkItem.getId();
assertEquals(new Integer(IWorkItem.CANCELED),prepareGoodsWorkItem.getState());