AWSSDK.UnitTests.IniFileTest.DeleteProperty C# (CSharp) Method

DeleteProperty() private method

private DeleteProperty ( ) : void
return void
        public void DeleteProperty()
        {
            var properties = new List<KeyValuePair<string, string>>();
            properties.Add(new KeyValuePair<string, string>("property", null));

            using (var tester = new IniFileTester(ValidSection1))
            {
                tester.TestFile.EditSection("section", properties);
                tester.AssertSection("section");
                tester.TestFile.Persist();
                tester.AssertFileContents("[section]" + Environment.NewLine);
            }
        }