void () { assertEquals("hello world!", new HtmlBuilder().append("hello ").append("world!").toString()); assertEquals("&lt;click here&gt;", new HtmlBuilder().append("<click here>").toString()); assertEquals("<br/>&lt;click here&gt;", new HtmlBuilder().append(HtmlChunk.br()).append("<click here>").toString()); assertEquals("1234", new HtmlBuilder().append("1").append(new HtmlBuilder().append("2").append("3")).append("4").toString()); }