@Test
void testSimpleHTML() {

    final Document doc = Document.html(
        html()
            .add(head()
                .add(title().add("Welcome"))
            ).add(body()
                .add("The content of the document")
            )
    );
    Formatting.tab("    ");
    final String html = new XmlGenerator().on(doc).get();
    assertTrue(html.contains("Welcome"));
}