parser.addScanner(new LinkScanner("-l"));
parseAndAssertNodeCount(8);
assertTrue(
"Seventh node should be a link tag",
node[6] instanceof LinkTag);
LinkTag linkTag = (LinkTag) node[6];
String exp =
new String("http://ads.samachar.com/bin/redirect/tech.txt?http://www.samachar.com/technical.html");
//assertEquals("Length of link tag",exp.length(), linkTag.getLink().length());
assertStringEquals("Link URL of link tag", exp, linkTag.getLink());
assertEquals(
"Link Text of link tag",
" Journalism 3.0",
linkTag.getLinkText());
assertTrue(
"Eight node should be a string node",
node[7] instanceof StringNode);
StringNode stringNode = (StringNode) node[7];
assertEquals(