public void Should_output_template()
        {
            Mock<TextWriter> output = new Mock<TextWriter>();
            output.Setup(w => w.Write("Template")).Verifiable();

            IHtmlNode tag = new HtmlElement("div");
            tag.Template((writer) => output.Object.Write("Template"));

            tag.WriteTo(output.Object);

            output.VerifyAll();
        }