@Test public void test_should_push_update_serviceCharge_to_queue() { when(serviceChargeRepository.pushUpdateToQueue(getServiceChargeRequest())) .thenReturn(getListOfServiceCharges()); assertTrue(getListOfServiceCharges() .equals(serviceChargeService.pushUpdateToQueue(getServiceChargeRequest()))); }
public List<ServiceCharge> pushUpdateToQueue(final ServiceChargeReq serviceChargeRequest) { logger.info("ServiceChargeReq :" + serviceChargeRequest); return serviceChargeRepository.pushUpdateToQueue(serviceChargeRequest); }
ServiceChargeService { public List<ServiceCharge> pushUpdateToQueue(final ServiceChargeReq serviceChargeRequest) { logger.info("ServiceChargeReq :" + serviceChargeRequest); return serviceChargeRepository.pushUpdateToQueue(serviceChargeRequest); } }
ServiceChargeService { public List<ServiceCharge> pushUpdateToQueue(final ServiceChargeReq serviceChargeRequest) { logger.info("ServiceChargeReq :" + serviceChargeRequest); return serviceChargeRepository.pushUpdateToQueue(serviceChargeRequest); }  }
ServiceChargeService { public List<ServiceCharge> pushUpdateToQueue(final ServiceChargeReq serviceChargeRequest) { logger.info("ServiceChargeReq :" + serviceChargeRequest); return serviceChargeRepository.pushUpdateToQueue(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 List<ServiceCharge> pushUpdateToQueue(final ServiceChargeReq serviceChargeRequest) { logger.info("ServiceChargeReq :" + serviceChargeRequest); return serviceChargeRepository.pushUpdateToQueue(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; }