@Test public void test_should_search_serviceCharge_by_criteria() { when(serviceChargeRepository.searchServiceChargesByCriteria(getServiceChargeGetCriteria())) .thenReturn(getListOfServiceChargesForSearch()); assertTrue(getListOfServiceChargesForSearch() .equals(serviceChargeService.getServiceChargesByCriteria(getServiceChargeGetCriteria()))); }
public List<ServiceCharge> getServiceChargesByCriteria(final ServiceChargeGetRequest serviceChargeGetRequest) { return serviceChargeRepository.searchServiceChargesByCriteria(serviceChargeGetRequest); }
ServiceChargeService { public List<ServiceCharge> getServiceChargesByCriteria(final ServiceChargeGetRequest serviceChargeGetRequest) { return serviceChargeRepository.searchServiceChargesByCriteria(serviceChargeGetRequest); } }
ServiceChargeService { public List<ServiceCharge> getServiceChargesByCriteria(final ServiceChargeGetRequest serviceChargeGetRequest) { return serviceChargeRepository.searchServiceChargesByCriteria(serviceChargeGetRequest); }  }
ServiceChargeService { public List<ServiceCharge> getServiceChargesByCriteria(final ServiceChargeGetRequest serviceChargeGetRequest) { return serviceChargeRepository.searchServiceChargesByCriteria(serviceChargeGetRequest); }  List<ServiceCharge> pushCreateToQueue(final ServiceChargeReq serviceChargeRequest); ServiceChargeReq create(final ServiceChargeReq serviceChargeRequest); List<ServiceCharge> pushUpdateToQueue(final ServiceChargeReq serviceChargeRequest); ServiceChargeReq update(final ServiceChargeReq serviceChargeRequest); List<ServiceCharge> getServiceChargesByCriteria(final ServiceChargeGetRequest serviceChargeGetRequest); }
ServiceChargeService { public List<ServiceCharge> getServiceChargesByCriteria(final ServiceChargeGetRequest serviceChargeGetRequest) { return serviceChargeRepository.searchServiceChargesByCriteria(serviceChargeGetRequest); }  List<ServiceCharge> pushCreateToQueue(final ServiceChargeReq serviceChargeRequest); ServiceChargeReq create(final ServiceChargeReq serviceChargeRequest); List<ServiceCharge> pushUpdateToQueue(final ServiceChargeReq serviceChargeRequest); ServiceChargeReq update(final ServiceChargeReq serviceChargeRequest); List<ServiceCharge> getServiceChargesByCriteria(final ServiceChargeGetRequest serviceChargeGetRequest); static final Logger logger; }