@Test public void shouldReturnLoginModeEmptyForNull() { SettingsRecord settingsRecord = new SettingsRecord(); assertNull(settingsRecord.getLoginModeValue()); }
@Ignore public String getLoginModeValue() { return platformSettings.get(ConfigurationConstants.LOGINMODE); }
SettingsRecord implements MotechSettings { @Ignore public String getLoginModeValue() { return platformSettings.get(ConfigurationConstants.LOGINMODE); } }
SettingsRecord implements MotechSettings { @Ignore public String getLoginModeValue() { return platformSettings.get(ConfigurationConstants.LOGINMODE); } SettingsRecord(); }
SettingsRecord implements MotechSettings { @Ignore public String getLoginModeValue() { return platformSettings.get(ConfigurationConstants.LOGINMODE); } SettingsRecord(); @Ignore @Override String getLanguage(); @Ignore @Override String getStatusMsgTimeout(); @Ignore @Override LoginMode getLoginMode(); @Ignore String getLoginModeValue(); @Ignore @Override String getProviderName(); @Ignore @Override String getProviderUrl(); @Ignore @Override String getServerUrl(); @Ignore @Override String getJmxHost(); @Ignore @Override String getJmxBroker(); @Ignore @Override String getServerHost(); @Override boolean isPlatformInitialized(); @Override void setPlatformInitialized(boolean platformInitialized); @Ignore @Override String getUploadSize(); @Ignore @Override void setLanguage(final String language); @Ignore @Override void setLoginModeValue(String loginMode); @Ignore @Override void setProviderName(String providerName); @Ignore @Override void setProviderUrl(String providerUrl); @Ignore @Override void setJmxHost(String jmxHost); @Ignore @Override void setJmxBroker(String jmxBroker); @Ignore @Override void setStatusMsgTimeout(final String statusMsgTimeout); @Override DateTime getLastRun(); @Override void setLastRun(final DateTime lastRun); @Ignore @Override void setServerUrl(String serverUrl); @Ignore @Override void setUploadSize(String uploadSize); @Override String getConfigFileChecksum(); @Override void setConfigFileChecksum(final String configFileChecksum); @Ignore @Override void updateFromProperties(final Properties props); @Ignore @Override void savePlatformSetting(String key, String value); @Ignore @Override synchronized void load(DigestInputStream dis); @Ignore @Override Properties asProperties(); @Ignore @Override void updateSettings(final String configFileChecksum, String filePath, Properties platformSettings); @Override String getFilePath(); @Override void setFilePath(String filePath); @Ignore void mergeWithDefaults(Properties defaultConfig); @Ignore void removeDefaults(Properties defaultConfig); void setPlatformSettings(Map<String, String> platformSettings); Map<String, String> getPlatformSettings(); @Ignore @Override boolean getEmailRequired(); @Override void setEmailRequired(String emailRequired); @Ignore @Override Integer getSessionTimeout(); @Override void setSessionTimeout(Integer sessionTimeout); @Ignore @Override String getPasswordValidator(); @Override void setPasswordValidator(String validator); @Override Integer getMinPasswordLength(); @Override void setMinPasswordLength(Integer minPasswordLength); @Ignore @Override Integer getFailureLoginLimit(); @Override void setFailureLoginLimit(int limit); @Ignore @Override Integer getNumberOfDaysToChangePassword(); @Override void setNumberOfDaysToChangePassword(Integer days); @Ignore @Override boolean isPasswordResetReminderEnabled(); @Override void setPasswordResetReminder(String remind); @Ignore @Override Integer getNumberOfDaysForReminder(); @Override void setNumberOfDaysForReminder(Integer days); }
SettingsRecord implements MotechSettings { @Ignore public String getLoginModeValue() { return platformSettings.get(ConfigurationConstants.LOGINMODE); } SettingsRecord(); @Ignore @Override String getLanguage(); @Ignore @Override String getStatusMsgTimeout(); @Ignore @Override LoginMode getLoginMode(); @Ignore String getLoginModeValue(); @Ignore @Override String getProviderName(); @Ignore @Override String getProviderUrl(); @Ignore @Override String getServerUrl(); @Ignore @Override String getJmxHost(); @Ignore @Override String getJmxBroker(); @Ignore @Override String getServerHost(); @Override boolean isPlatformInitialized(); @Override void setPlatformInitialized(boolean platformInitialized); @Ignore @Override String getUploadSize(); @Ignore @Override void setLanguage(final String language); @Ignore @Override void setLoginModeValue(String loginMode); @Ignore @Override void setProviderName(String providerName); @Ignore @Override void setProviderUrl(String providerUrl); @Ignore @Override void setJmxHost(String jmxHost); @Ignore @Override void setJmxBroker(String jmxBroker); @Ignore @Override void setStatusMsgTimeout(final String statusMsgTimeout); @Override DateTime getLastRun(); @Override void setLastRun(final DateTime lastRun); @Ignore @Override void setServerUrl(String serverUrl); @Ignore @Override void setUploadSize(String uploadSize); @Override String getConfigFileChecksum(); @Override void setConfigFileChecksum(final String configFileChecksum); @Ignore @Override void updateFromProperties(final Properties props); @Ignore @Override void savePlatformSetting(String key, String value); @Ignore @Override synchronized void load(DigestInputStream dis); @Ignore @Override Properties asProperties(); @Ignore @Override void updateSettings(final String configFileChecksum, String filePath, Properties platformSettings); @Override String getFilePath(); @Override void setFilePath(String filePath); @Ignore void mergeWithDefaults(Properties defaultConfig); @Ignore void removeDefaults(Properties defaultConfig); void setPlatformSettings(Map<String, String> platformSettings); Map<String, String> getPlatformSettings(); @Ignore @Override boolean getEmailRequired(); @Override void setEmailRequired(String emailRequired); @Ignore @Override Integer getSessionTimeout(); @Override void setSessionTimeout(Integer sessionTimeout); @Ignore @Override String getPasswordValidator(); @Override void setPasswordValidator(String validator); @Override Integer getMinPasswordLength(); @Override void setMinPasswordLength(Integer minPasswordLength); @Ignore @Override Integer getFailureLoginLimit(); @Override void setFailureLoginLimit(int limit); @Ignore @Override Integer getNumberOfDaysToChangePassword(); @Override void setNumberOfDaysToChangePassword(Integer days); @Ignore @Override boolean isPasswordResetReminderEnabled(); @Override void setPasswordResetReminder(String remind); @Ignore @Override Integer getNumberOfDaysForReminder(); @Override void setNumberOfDaysForReminder(Integer days);  }