public void testFindEmployeesByProject() {
    List<Employee> result;

    result = service.findEmployeesByProject(100);
    assertNotNull(result);
    assertEquals(result.size(), 0);

    result = service.findEmployeesByProject(1);
    assertNotNull(result);
    assertEquals(result.size(), 0);

    result = service.findEmployeesByProject(4);
    assertNotNull(result);
    assertEquals(result.size(), 1);

    result = service.findEmployeesByProject(2);
    assertNotNull(result);
    assertEquals(result.size(), 2);
  }
  @RequestMapping(value = "findEmployees.htm", params = "searchType=findByProject")
  public ModelAndView onSubmitSearchByProject(@RequestParam("projectID") long projectID) {

    log.info("Finding by project ID: " + projectID);
    List<Project> projectList = searchService.listAllProjects();
    List<Employee> employeeList = searchService.findEmployeesByProject(projectID);

    ModelAndView mav = new ModelAndView();
    mav.addObject("projectList", projectList);
    mav.addObject("employeeList", employeeList);
    mav.setViewName("find/employeeSearchForm");
    return mav;
  }