String img = "<IMG alt=Google height=115 src=\"../../goo/title_homepage4.gif\" width=305>";
createParser(img,"http://www.google.com/test/test/index.html");
parseAndAssertNodeCount(1);
// The node should be an ImageTag
assertTrue("Node should be a ImageTag",node[0] instanceof ImageTag);
ImageTag imageTag = (ImageTag)node[0];
assertStringEquals("toHtml",img,imageTag.toHtml());
assertEquals("Alt","Google",imageTag.getAttribute("alt"));
assertEquals("Height","115",imageTag.getAttribute("height"));
assertEquals("Width","305",imageTag.getAttribute("width"));
}