TaskInstance taskInstance = taskQuery.taskAssignee("1200119390").processInstanceId(processInstanceId).taskNotEnd().list().get(0);
String taskId = taskInstance.getId();
taskService.setAssignee(taskId, "121231231");
taskQuery = taskService.createTaskQuery();
taskInstance = taskQuery.taskId(taskId).singleResult();
//assertEquals("121231231", taskInstance.getAssignee());
}
/**
* 测试查询可退回的任务
*/