Пример #1
0
        public void GetNextPath_PathCount1()
        {
            var paths = new List <List <string> >()
            {
                new List <string>()
                {
                    "FirstPathLevel"
                }
            };

            var configElement = new ConfigElement(paths, _path_in_config, _elementType);

            var expected = new List <List <string> >()
            {
                new List <string>()
                {
                    "FirstPathLevel"
                },
            };

            var result = new List <List <string> >();

            foreach (var path in configElement.GetNextPath())
            {
                result.Add(path);
            }

            result.Should().BeEquivalentTo(expected);
        }