public void Test002(string controlHtml, string testHtml, int matchCount)
        {
            var controls = ToSourceCollection(controlHtml, ComparisonSourceType.Control);
            var tests    = ToSourceCollection(testHtml, ComparisonSourceType.Test);

            var actual = OneToOneNodeMatcher.Match(DummyContext, controls, tests).ToList();

            actual.Count.ShouldBe(matchCount);
            actual.ShouldAllBe((c, idx) => c.Control == controls[idx] && c.Test == tests[idx]);
        }
        public void Test004()
        {
            var controls = ToSourceCollection("<p></p>text<!--comment-->", ComparisonSourceType.Control);
            var tests    = ToSourceCollection("<!--comment--><p></p>text", ComparisonSourceType.Test);

            tests.MarkAsMatched(tests[1]);

            var actual = OneToOneNodeMatcher.Match(DummyContext, controls, tests).ToList();

            actual.Count.ShouldBe(2);
            actual[0].ShouldSatisfyAllConditions(
                c => c.Control.ShouldBe(controls[0]),
                c => c.Test.ShouldBe(tests[0])
                );
            actual[1].ShouldSatisfyAllConditions(
                c => c.Control.ShouldBe(controls[1]),
                c => c.Test.ShouldBe(tests[2])
                );
        }