### Question:
TaskHandler { public List<Task> getTaskByUserID(String userID) { List<Task> list = taskService .createTaskQuery() .taskAssignee(userID) .list(); logger.info("[查询任务列表] [userID=" + userID + "] 共 " + list.size() + " 条记录"); return list; }  List<Task> getAllTask(); List<Task> getTaskByUserID(String userID); boolean taskAssignee(String taskID, String userID); boolean completeTaskByTaskID(String taskID); boolean deleteTaskByTaskID(String taskID);  }### Answer:
@Test public void getTaskByUserID() { List<Task> list = ts.getTaskByUserID("smallyu"); Assert.assertNotNull(list); printTaskList(list); }