Esempio n. 1
0
        public void Should_handle_child_nodes()
        {
            var pt = _converter.SerializeHtml($"<html>This should be parsed</html>");

            Assert.Contains("This should be parsed", pt);
        }
Esempio n. 2
0
        public void Should_not_parse_children()
        {
            var pt = _converter.SerializeHtml("<head><p>Should not be parsed</p></head>");

            Assert.DoesNotContain("Should not be parsed", pt);
        }