@Test public void test_should_create_meterStatusRequest_and_persist_to_db() { when(meterStatusRepository.create(getMeterStatusRequest())).thenReturn(getMeterStatusRequest()); assertTrue(getMeterStatusRequest().equals(meterStatusService.create(getMeterStatusRequest()))); }
public MeterStatusReq create(final MeterStatusReq meterStatusRequest) { return meterStatusRepository.create(meterStatusRequest); }
MeterStatusService { public MeterStatusReq create(final MeterStatusReq meterStatusRequest) { return meterStatusRepository.create(meterStatusRequest); } }
MeterStatusService { public MeterStatusReq create(final MeterStatusReq meterStatusRequest) { return meterStatusRepository.create(meterStatusRequest); }  }
MeterStatusService { public MeterStatusReq create(final MeterStatusReq meterStatusRequest) { return meterStatusRepository.create(meterStatusRequest); }  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 MeterStatusReq create(final MeterStatusReq meterStatusRequest) { return meterStatusRepository.create(meterStatusRequest); }  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; }