### Question:
TaskAssignmentResourceFacadeImp extends CoreDBServiceFacadeImp<TaskAssignment, Long> implements TaskAssignmentResourceFacade { @Override public List<TaskAssignmentDTO> findTaskAssignmentByID(Long documentID) { try { List<TaskAssignment> list = getAllByCriteria(Restrictions.eq("id.documentId", documentID)); List<TaskAssignmentDTO> dtoList = new ArrayList<TaskAssignmentDTO>(); if (list != null && !list.isEmpty()) { for (TaskAssignment t: list) { dtoList.add(new TaskAssignmentDTO(t)); } } return dtoList; } catch (Exception e) { logger.error("Error in find operation: documentID = " + documentID, e); return null; } } TaskAssignmentResourceFacadeImp(); @Override int insertTaskAssignment(List<DocumentDTO> taskList, Long userID); @Override int insertOneTaskAssignment(Long documentID, Long userID); @Override int undoTaskAssignment(List<DocumentDTO> taskList, Long userID); @Override int undoTaskAssignment(Map<Long, Long> taskMap); @Override int undoTaskAssignment(Long documentID, Long userID); @Override void undoTaskAssignmentByTimer(); @Override TaskAssignmentDTO findTaskAssignment(Long documentID, Long userID); @Override List<TaskAssignmentDTO> findTaskAssignmentByID(Long documentID); @Override Integer getPendingTaskCount(Long userID);  }### Answer:
@Test public void testFindTaskAssignmentByID() { List<TaskAssignmentDTO> result = taskAssignmentResourceFacadeImp.findTaskAssignmentByID(documentDTO.getDocumentID()); assertTrue(result.size()>=1); }