Example #1
0
        public void Test_NestedFullPath_GetChildTag()
        {
            var result = TagHelper.GetChildTag(_rootTag, "child1.nestedChild");

            result.Should().Be(_nestedChild);
        }
Example #2
0
        public void Test_GetChildTag()
        {
            var result = TagHelper.GetChildTag(_rootTag, "child2");

            result.Should().Be(_child2);
        }