@Test public void test_Should_ReceivingModeType_Create() { final ReceivingModeType receivingModeType = getReceivingModeType(); final List<ReceivingModeType> receivingModeTypes = new ArrayList<>(); receivingModeTypes.add(receivingModeType); final ReceivingModeTypeReq receivingModeTypeReq = new ReceivingModeTypeReq(); receivingModeTypeReq.setModeType(receivingModeType); final ReceivingModeTypeRes propUsageTypeResponse = new ReceivingModeTypeRes(); propUsageTypeResponse.setResponseInfo(null); propUsageTypeResponse.setModeTypes(receivingModeTypes); when(receivingModeTypeService.create(any(ReceivingModeTypeReq.class))).thenReturn(receivingModeTypeReq); assertTrue(receivingModeTypeReq.equals(receivingModeTypeService.create(receivingModeTypeReq))); }
public ReceivingModeTypeReq create(final ReceivingModeTypeReq modeTypeReq) { return receivingModeRepository.persistReceivingModeType(modeTypeReq); }
ReceivingModeTypeService { public ReceivingModeTypeReq create(final ReceivingModeTypeReq modeTypeReq) { return receivingModeRepository.persistReceivingModeType(modeTypeReq); } }
ReceivingModeTypeService { public ReceivingModeTypeReq create(final ReceivingModeTypeReq modeTypeReq) { return receivingModeRepository.persistReceivingModeType(modeTypeReq); }  }
ReceivingModeTypeService { public ReceivingModeTypeReq create(final ReceivingModeTypeReq modeTypeReq) { return receivingModeRepository.persistReceivingModeType(modeTypeReq); }  ReceivingModeTypeReq create(final ReceivingModeTypeReq modeTypeReq); ReceivingModeTypeReq update(final ReceivingModeTypeReq modeTypeReq); List<ReceivingModeType> getAllReceivingModeTypes(final ReceivingModeTypeGetReq modeTypeGetRequest); boolean checkReceivingModeTypeByNameAndCode(final String code, final String name, final String tenantId, String mode); boolean checkReceivingModeTypeByName(final String code, final String name, final String tenantId, final String mode); boolean checkReceivingModeTypeByCode(final String code, final String tenantId, final String mode); ReceivingModeType sendMessage(String topic, String key, final ReceivingModeTypeReq modeTypeRequest); }
ReceivingModeTypeService { public ReceivingModeTypeReq create(final ReceivingModeTypeReq modeTypeReq) { return receivingModeRepository.persistReceivingModeType(modeTypeReq); }  ReceivingModeTypeReq create(final ReceivingModeTypeReq modeTypeReq); ReceivingModeTypeReq update(final ReceivingModeTypeReq modeTypeReq); List<ReceivingModeType> getAllReceivingModeTypes(final ReceivingModeTypeGetReq modeTypeGetRequest); boolean checkReceivingModeTypeByNameAndCode(final String code, final String name, final String tenantId, String mode); boolean checkReceivingModeTypeByName(final String code, final String name, final String tenantId, final String mode); boolean checkReceivingModeTypeByCode(final String code, final String tenantId, final String mode); ReceivingModeType sendMessage(String topic, String key, final ReceivingModeTypeReq modeTypeRequest); static final Logger logger; }