assertTrue("HTML node should have one child",1 == html.getChildCount ());
assertTrue("Only node should be an BODY node",html.getChild(0) instanceof BodyTag);
BodyTag body = (BodyTag)html.getChild(0);
assertTrue("BODY node should have one child",1 == body.getChildCount ());
assertTrue("Only node should be a string node",body.getChild(0) instanceof Text);
Text stringNode = (Text)body.getChild(0);
String actual = stringNode.getText();
assertEquals("Third node has incorrect text","text\n<>text",actual);
}