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

AddProperty() private method

private AddProperty ( ) : void
return void
        public void AddProperty()
        {
            var properties = new List<KeyValuePair<string, string>>();
            properties.Add(new KeyValuePair<string, string>("property2", "value2"));

            using (var tester = new IniFileTester(ValidSection1))
            {
                tester.TestFile.EditSection("section", properties);
                tester.AssertSection("section", "property", "value", "property2", "value2");
                tester.TestFile.Persist();
                tester.AssertFileContents(ValidSection1 + "property2=value2");
            }
        }