for (Task task : list) {
System.out.println(ToStringBuilder.reflectionToString(task));
}
variableMap = new HashMap<String, Object>();
variableMap.put("pass", false);
taskService.complete(list.get(0).getId(), variableMap);
System.out.println("A completed");
taskAssignee = taskService.createTaskQuery().taskAssignee("1");
list = taskAssignee.list();
assertEquals(1, list.size());
assertEquals("C", list.get(0).getName());