@Test
    public void test3Levels() {
        xml.openTag("l1").openTag("l2").openTag("l3").closeTag().closeTag().closeTag();
        assertEquals(
                "<l1>\n" +
                "\n" +
                "  <l2>\n" +
                "    <l3/>\n" +
                "  </l2>\n" +
                "\n" +
                "</l1>\n"
                , getWritten());
    }
This test is currently incomplete. Also much tested in the prelude module though.

@author bratseth
vespajlib/src/test/java/com/yahoo/text/XMLWriterTestCase.java