@Test public void test_getEmployeeTypes() { List<EmployeeType> employeeTypes = new ArrayList<>(); when(employeeTypeRepository.findForCriteria(any(EmployeeTypeGetRequest.class))).thenReturn(employeeTypes); List<EmployeeType> result = employeeTypeService.getEmployeeTypes(any(EmployeeTypeGetRequest.class)); assertThat(result).isEqualTo(employeeTypes); }
public List<EmployeeType> getEmployeeTypes(EmployeeTypeGetRequest employeeTypeGetRequest) { return employeeTypeRepository.findForCriteria(employeeTypeGetRequest); }
EmployeeTypeService { public List<EmployeeType> getEmployeeTypes(EmployeeTypeGetRequest employeeTypeGetRequest) { return employeeTypeRepository.findForCriteria(employeeTypeGetRequest); } }
EmployeeTypeService { public List<EmployeeType> getEmployeeTypes(EmployeeTypeGetRequest employeeTypeGetRequest) { return employeeTypeRepository.findForCriteria(employeeTypeGetRequest); }  }
EmployeeTypeService { public List<EmployeeType> getEmployeeTypes(EmployeeTypeGetRequest employeeTypeGetRequest) { return employeeTypeRepository.findForCriteria(employeeTypeGetRequest); }  List<EmployeeType> getEmployeeTypes(EmployeeTypeGetRequest employeeTypeGetRequest); }
EmployeeTypeService { public List<EmployeeType> getEmployeeTypes(EmployeeTypeGetRequest employeeTypeGetRequest) { return employeeTypeRepository.findForCriteria(employeeTypeGetRequest); }  List<EmployeeType> getEmployeeTypes(EmployeeTypeGetRequest employeeTypeGetRequest);  }