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

    result = service.findEmployeesByName("asdasd", "iririr");
    assertNotNull(result);
    assertEquals(result.size(), 0);

    result = service.findEmployeesByName("Ruzwana", "iririr");
    assertNotNull(result);
    assertEquals(result.size(), 0);

    result = service.findEmployeesByName("asdasd", "Bashir");
    assertNotNull(result);
    assertEquals(result.size(), 0);

    result = service.findEmployeesByName("Ruzwana", "Bashir");
    assertNotNull(result);
    assertEquals(result.size(), 1);
    assertTrue(result.get(0).getFirstName().equals("Ruzwana"));
    assertTrue(result.get(0).getLastName().equals("Bashir"));
  }
  @RequestMapping(value = "findEmployees.htm", params = "searchType=findByName")
  public ModelAndView onSubmitSearchByName(
      @RequestParam("firstName") String firstName,
      @RequestParam("lastName") String lastName,
      @RequestParam("projectID") long projectID) {

    log.info("Searching by first name: " + firstName + " last name: " + lastName);

    List<Employee> employeeList = searchService.findEmployeesByName(firstName, lastName);
    List<Project> projectList = searchService.listAllProjects();

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