AWSSDK.UnitTests.IniFileTest.EnsureSectionExists_New C# (CSharp) Метод

EnsureSectionExists_New() приватный Метод

private EnsureSectionExists_New ( ) : void
Результат 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]");
            }
        }