public void testRelativeImageScan2() throws ParserException
{
createParser("<IMG SRC=\"abc/def/mypic.jpg\">", "http://www.yahoo.com");
// Register the image scanner
parser.addScanner(new ImageScanner("-i", new LinkProcessor()));
parseAndAssertNodeCount(1);
assertTrue(
"Node identified should be HTMLImageTag",
node[0] instanceof ImageTag);
ImageTag imageTag = (ImageTag) node[0];