예제 #1
0
        public void GetSections_ValidDocument_ReturnsValidSections()
        {
            IniDocument document = new FakeIniDocument();

            document.Load(CreateIniString());

            var actual = document.GetSections();

            var expected = new List <string> {
                "Section", "General"
            };

            Assert.AreEqual(expected, actual);
        }