public TestApplicationSettings()
        {
            // Set defaults based on application settings from config
            var applicationSettingsFromConfig = new Infrastructure.ApplicationSettings.ApplicationSettings();

            CoolOffPeriod = applicationSettingsFromConfig.CoolOffPeriod;
            ExpirationPeriodNewPasswordrequest = applicationSettingsFromConfig.ExpirationPeriodNewPasswordrequest;
            MaxLoginAttempts = applicationSettingsFromConfig.MaxLoginAttempts;
            PasswordPolicy = applicationSettingsFromConfig.PasswordPolicy;
            ConnectionString = applicationSettingsFromConfig.ConnectionString;
            Environment = applicationSettingsFromConfig.Environment;
            WindowsServiceMailSenderName = applicationSettingsFromConfig.WindowsServiceMailSenderName;
            ApplicationVersion = applicationSettingsFromConfig.ApplicationVersion;
            SmtpHost = applicationSettingsFromConfig.SmtpHost;
            SmtpPort = applicationSettingsFromConfig.SmtpPort;
            SmtpUsername = applicationSettingsFromConfig.SmtpUsername;
            SmtpPassword = applicationSettingsFromConfig.SmtpPassword;
            DefaultCulture = applicationSettingsFromConfig.DefaultCulture;
            AcceptedCultures = applicationSettingsFromConfig.AcceptedCultures;
            SmtpSslEnabled = applicationSettingsFromConfig.SmtpSslEnabled;
            WebMessageQueueAddress = applicationSettingsFromConfig.WebMessageQueueAddress;
            MailSenderMessageQueueAddress = applicationSettingsFromConfig.MailSenderMessageQueueAddress;
        }
        public TestApplicationSettings()
        {
            // Set defaults based on application settings from config
            var applicationSettingsFromConfig = new Infrastructure.ApplicationSettings.ApplicationSettings();

            CoolOffPeriod = applicationSettingsFromConfig.CoolOffPeriod;
            ExpirationPeriodNewPasswordrequest = applicationSettingsFromConfig.ExpirationPeriodNewPasswordrequest;
            MaxLoginAttempts             = applicationSettingsFromConfig.MaxLoginAttempts;
            PasswordPolicy               = applicationSettingsFromConfig.PasswordPolicy;
            ConnectionString             = applicationSettingsFromConfig.ConnectionString;
            Environment                  = applicationSettingsFromConfig.Environment;
            WindowsServiceMailSenderName = applicationSettingsFromConfig.WindowsServiceMailSenderName;
            ApplicationVersion           = applicationSettingsFromConfig.ApplicationVersion;
            SmtpHost                      = applicationSettingsFromConfig.SmtpHost;
            SmtpPort                      = applicationSettingsFromConfig.SmtpPort;
            SmtpUsername                  = applicationSettingsFromConfig.SmtpUsername;
            SmtpPassword                  = applicationSettingsFromConfig.SmtpPassword;
            DefaultCulture                = applicationSettingsFromConfig.DefaultCulture;
            AcceptedCultures              = applicationSettingsFromConfig.AcceptedCultures;
            SmtpSslEnabled                = applicationSettingsFromConfig.SmtpSslEnabled;
            WebMessageQueueAddress        = applicationSettingsFromConfig.WebMessageQueueAddress;
            MailSenderMessageQueueAddress = applicationSettingsFromConfig.MailSenderMessageQueueAddress;
        }