public void EditProperty()
{
var properties = new List<KeyValuePair<string, string>>();
properties.Add(new KeyValuePair<string, string>("property", "value2"));
using (var tester = new IniFileTester(ValidSection1))
{
tester.TestFile.EditSection("section", properties);
tester.AssertSection("section", "property", "value2");
tester.TestFile.Persist();
tester.AssertFileContents("[section]" + Environment.NewLine + "property=value2");
}
}