NSoft.NFramework.Nini.Ini.IniWriterTests.EmptyWithoutComment C# (CSharp) Method

EmptyWithoutComment() private method

private EmptyWithoutComment ( ) : void
return void
        public void EmptyWithoutComment() {
            StringWriter writer = new StringWriter();
            IniWriter iniWriter = new IniWriter(writer);

            Assert.AreEqual(IniWriteState.Start, iniWriter.WriteState);

            iniWriter.WriteEmpty();
            Assert.AreEqual("", ReadLine(writer, 1));
            Assert.AreEqual(IniWriteState.BeforeFirstSection, iniWriter.WriteState);
        }