@Test public void test_should_update_serviceCharge() { when(serviceChargeRepository.update(getServiceChargeRequest())) .thenReturn(getServiceChargeRequest()); assertTrue(getServiceChargeRequest().equals(serviceChargeService.update(getServiceChargeRequest()))); }
public ServiceChargeReq update(final ServiceChargeReq serviceChargeRequest) { return serviceChargeRepository.update(serviceChargeRequest); }
ServiceChargeService { public ServiceChargeReq update(final ServiceChargeReq serviceChargeRequest) { return serviceChargeRepository.update(serviceChargeRequest); } }
ServiceChargeService { public ServiceChargeReq update(final ServiceChargeReq serviceChargeRequest) { return serviceChargeRepository.update(serviceChargeRequest); }  }
ServiceChargeService { public ServiceChargeReq update(final ServiceChargeReq serviceChargeRequest) { return serviceChargeRepository.update(serviceChargeRequest); }  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 ServiceChargeReq update(final ServiceChargeReq serviceChargeRequest) { return serviceChargeRepository.update(serviceChargeRequest); }  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; }