@Test public void test_should_create_otpconfig_entry() { OTPConfig otpConfig = prepareOTPConfigFirstObject(); when(otpConfigRepository.persistOTPConfig(any(OTPConfig.class))).thenReturn(otpConfig); assertTrue(otpConfig.equals(otpConfigService.create(otpConfig))); }
public OTPConfig create(OTPConfig otpConfig) { logger.info("Persisting OTP Config Data"); return otpConfigRepository.persistOTPConfig(otpConfig); }
OTPConfigService { public OTPConfig create(OTPConfig otpConfig) { logger.info("Persisting OTP Config Data"); return otpConfigRepository.persistOTPConfig(otpConfig); } }
OTPConfigService { public OTPConfig create(OTPConfig otpConfig) { logger.info("Persisting OTP Config Data"); return otpConfigRepository.persistOTPConfig(otpConfig); }  }
OTPConfigService { public OTPConfig create(OTPConfig otpConfig) { logger.info("Persisting OTP Config Data"); return otpConfigRepository.persistOTPConfig(otpConfig); }  OTPConfig createOTPConfig(final String topic, final String key,
			final OTPConfig otpConfig); OTPConfig updateOTPConfig(final String topic, final String key,
			final OTPConfig otpConfig); OTPConfig create(OTPConfig otpConfig); boolean update(OTPConfig otpConfig); List<org.egov.pgr.web.contract.OTPConfig> getAllOtpConfig(List<String> tenantList); }
OTPConfigService { public OTPConfig create(OTPConfig otpConfig) { logger.info("Persisting OTP Config Data"); return otpConfigRepository.persistOTPConfig(otpConfig); }  OTPConfig createOTPConfig(final String topic, final String key,
			final OTPConfig otpConfig); OTPConfig updateOTPConfig(final String topic, final String key,
			final OTPConfig otpConfig); OTPConfig create(OTPConfig otpConfig); boolean update(OTPConfig otpConfig); List<org.egov.pgr.web.contract.OTPConfig> getAllOtpConfig(List<String> tenantList); static final Logger logger; }