@Test
void serializeNode()
{

    HTMLDocumentImpl node = new HTMLDocumentImpl();
    String serialize = XMLUtils.serialize(node, false);
    assertEquals("", serialize);
    Element body = node.createElement("body");
    node.setBody((HTMLElement) body);
    body.setAttribute("class", "toto");
    serialize = XMLUtils.serialize(node, false);
    assertEquals("<HTML><HEAD/><BODY class=\"toto\"/></HTML>", serialize);
}