LinkTag linkTag = (LinkTag)node[0];
assertEquals("Link URL","http://transfer.go.com/cgi/atransfer.pl?goto=http://www.signs.movies.com&name=114332&srvc=nws&context=283&guid=4AD5723D-C802-4310-A388-0B24E1A79689",linkTag.getLink());
assertEquals("Link Text","",linkTag.getLinkText());
Node [] containedNodes = new Node[10];
int i=0;
for (SimpleNodeIterator e = linkTag.children();e.hasMoreNodes();) {
containedNodes[i++] = e.nextNode();
}
assertEquals("There should be 5 contained nodes in the link tag",5,i);
assertTrue("First contained node should be an image tag",containedNodes[0] instanceof ImageTag);
ImageTag imageTag = (ImageTag)containedNodes[0];