// The first node should be a Text- with the text - view these documents, you must have
assertTrue("First node should be a Text",node[0] instanceof Text);
Text stringNode = (Text)node[0];
assertEquals("Text of the Text","view these documents, you must have ",stringNode.getText());
assertTrue("Second node should be a link node",node[1] instanceof LinkTag);
LinkTag linkNode = (LinkTag)node[1];
assertEquals("Link is","http://www.adobe.com",linkNode.getLink());
assertEquals("Link text is","Adobe \nAcrobat Reader",linkNode.getLinkText());
assertTrue("Third node should be a string node",node[2] instanceof Text);
Text stringNode2 = (Text)node[2];
assertEquals("Contents of third node"," installed on your computer.",stringNode2.getText());
}