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

EnsureSectionExists_New() private method

private EnsureSectionExists_New ( ) : void
return void
        public void EnsureSectionExists_New()
        {
            using (var tester = new IniFileTester(ValidSection1))
            {
                tester.TestFile.EnsureSectionExists("section2");
                tester.AssertSection("section2");
                tester.TestFile.Persist();
                tester.AssertFileContents(ValidSection1 + "[section2]");
            }
        }