Esempio n. 1
0
        public void should_respect_subclass_encode_preference()
        {
            var tag = new NonEncodedTag("div");

            tag.Text("<b>Hi</b>");
            tag.ToString().ShouldBe("<div><b>Hi</b></div>");
        }
Esempio n. 2
0
 public void should_respect_subclass_encode_preference()
 {
     var tag = new NonEncodedTag("div");
     tag.Text("<b>Hi</b>");
     tag.ToString().ShouldEqual("<div><b>Hi</b></div>");
 }