Example #1
0
        public void Settings_InitTest()
        {
            Settings.SetAppSettings(appConfig1);
            Settings2.SetAppSettings(appConfig2);

            settings  = new Settings();
            settings2 = new Settings2();
        }
 public void GetSettingsBackup_Fail()
 {
     Settings2.SetAppSettings(appConfig2Bad);
     Settings.Path.Get(Settings2.TestPath).Should().Be(Settings.Path.DefaultValue);
     Settings.Retries.Get(Settings2.Retries).Should().Be(Settings.Retries.DefaultValue);
 }
 public void InitTest()
 {
     Settings.SetAppSettings(appConfig1Bad);
     Settings2.SetAppSettings(appConfig2);
 }