assertEquals("Expected Link", "http://www.yahoo.com/abc/def/mypic.jpg", imageTag.getImageURL());
}
public void testEvaluate() {
ImageScanner scanner = new ImageScanner("-i", new LinkProcessor());
boolean retVal = scanner.evaluate(" img ", null);
assertEquals("Evaluation of IMG tag", new Boolean(true), new Boolean(retVal));
}
/**
* This is the reproduction of a bug which causes a null pointer exception