void () { assertEquals("<html>Click <a href=\"foo\">here</a></html>", new HtmlBuilder().append("Click ").appendLink("foo", "here").wrapWith("html").toString()); assertEquals("<div style=\"color:blue\">&amp;&amp;</div>", new HtmlBuilder().append("&&").wrapWith(HtmlChunk.div().style("color:blue")).toString()); }