@Test public void test_should_push_createMeterStatusRequest_to_queue() { when(meterStatusRepository.pushCreateToQueue(getMeterStatusRequest())).thenReturn(getListOfMeterStatuses()); assertTrue(getListOfMeterStatuses().equals(meterStatusService.pushCreateToQueue(getMeterStatusRequest()))); }
public List<MeterStatus> pushCreateToQueue(final MeterStatusReq meterStatusReq) { logger.info("MeterStatusRequest :" + meterStatusReq); return meterStatusRepository.pushCreateToQueue(meterStatusReq); }
MeterStatusService { public List<MeterStatus> pushCreateToQueue(final MeterStatusReq meterStatusReq) { logger.info("MeterStatusRequest :" + meterStatusReq); return meterStatusRepository.pushCreateToQueue(meterStatusReq); } }
MeterStatusService { public List<MeterStatus> pushCreateToQueue(final MeterStatusReq meterStatusReq) { logger.info("MeterStatusRequest :" + meterStatusReq); return meterStatusRepository.pushCreateToQueue(meterStatusReq); }  }
MeterStatusService { public List<MeterStatus> pushCreateToQueue(final MeterStatusReq meterStatusReq) { logger.info("MeterStatusRequest :" + meterStatusReq); return meterStatusRepository.pushCreateToQueue(meterStatusReq); }  List<MeterStatus> pushCreateToQueue(final MeterStatusReq meterStatusReq); MeterStatusReq create(final MeterStatusReq meterStatusRequest); List<MeterStatus> pushUpdateToQueue(final MeterStatusReq meterStatusRequest); MeterStatusReq update(final MeterStatusReq meterStatusRequest); List<MeterStatus> getMeterStatus(final MeterStatusGetRequest meterStatusGetRequest); }
MeterStatusService { public List<MeterStatus> pushCreateToQueue(final MeterStatusReq meterStatusReq) { logger.info("MeterStatusRequest :" + meterStatusReq); return meterStatusRepository.pushCreateToQueue(meterStatusReq); }  List<MeterStatus> pushCreateToQueue(final MeterStatusReq meterStatusReq); MeterStatusReq create(final MeterStatusReq meterStatusRequest); List<MeterStatus> pushUpdateToQueue(final MeterStatusReq meterStatusRequest); MeterStatusReq update(final MeterStatusReq meterStatusRequest); List<MeterStatus> getMeterStatus(final MeterStatusGetRequest meterStatusGetRequest); static final Logger logger; }