* Test the generic implementation methods
* @see TestHamlet for Hamlet syntax
*/
@Test public void testGeneric() {
PrintWriter out = spy(new PrintWriter(System.out));
HamletImpl hi = new HamletImpl(out, 0, false);
hi.
root("start")._attr("name", "value").
_("start text").
elem("sub")._attr("name", "value").
_("sub text")._().
elem("sub1")._noEndTag()._attr("boolean", null).