### Question:
HtmlBuilder { static Document newHtmlDocument(final DocumentBuilder builder, final String title) { final Document doc = builder.newDocument(); final Element html = appendChild(doc, doc, "html"); appendChild(doc, appendChild(doc, html, "head"), "title", title); final Element body = appendChild(doc, html, "body"); appendChild(doc, body, "h1", title); return doc; }  HtmlBuilder setOutput(final Path folder); HtmlBuilder setStyleSheet(final URL styleSheet); HtmlBuilder setSource(final Connection source); HtmlBuilder setSchema(final String schema); HtmlBuilder setCatalog(final String catalog); Path build(); void printForeignKeys(final Document doc, final Element body, final String catalog, final String schema, final String tableName, final Path toRootFolder); static TreeTable.Node getOrCreateNode(final TreeTable.Node parent, final TableColumn<T> searchCriteria, final T searchValue);  }### Answer:
@Test @DependsOnMethod("testAppendChild") public void testNewHtmlDocument() throws Exception { final String title = "myHtml"; Document htmlDoc = HtmlBuilder.newHtmlDocument(DocumentBuilderFactory.newInstance().newDocumentBuilder(), title); assertValidHtmlDocument(htmlDoc, title); }