parseAndAssertNodeCount(1);
assertTrue(node[0] instanceof Html);
Html htmlTag = (Html)node[0];
assertTrue(htmlTag.getChild(0) instanceof HeadTag);
HeadTag headTag = (HeadTag)htmlTag.getChild(0);
assertEquals("toHtml()","<HEAD></HEAD>",headTag.toHtml());
assertEquals("toHtml()","<HTML><HEAD></HEAD></HTML>",htmlTag.toHtml());
}
public void testSimpleHeadWithBody() throws ParserException {
createParser("<HTML><HEAD><BODY></HTML>");