Example #1
0
        public void Should_render_text_as_it_is()
        {
            nodeMock.SetupGet(n => n.Text).Returns("TEXT");

            renderer.RenderNode(nodeMock.Object).ShouldEqual("TEXT");
        }
Example #2
0
        public void Should_render_text_as_it_is_outside_codeBlock()
        {
            nodeMock.SetupGet(n => n.Text).Returns("TEXT");

            renderer.RenderNode(nodeMock.Object, false).ShouldEqual("TEXT");
        }