ApplicationSettingsTests.WriteIntoInstanceTests.When_IgnoreAttribute_is_defined.Then_property_is_ignored C# (CSharp) Method

Then_property_is_ignored() private method

private Then_property_is_ignored ( ) : void
return void
        public void Then_property_is_ignored()
        {
            var settings = new AppSettings(SimpleConfig.AbsolutePathToConfigFile);
            var mySettings = new SettingsWithIgnoredProperty(100);

            settings.WriteInto(mySettings);

            Assert.AreEqual(100, mySettings.IntValue);
        }