void () { assertEquals("<p align=\"left\"><br/></p>", HtmlChunk.tag("p").attr("align", "left").child(HtmlChunk.br()).toString()); assertEquals("<p>&lt;hello&gt;</p>", HtmlChunk.tag("p").child(HtmlChunk.text("<hello>")).toString()); assertEquals("<p>&lt;hello&gt;</p>", HtmlChunk.tag("p").addText("<hello>").toString()); assertEquals("<p><a href=\"ref\">&lt;hello&gt;</a></p>", HtmlChunk.tag("p").child(HtmlChunk.link("ref", "<hello>")).toString()); }