assertEquals(description + " value", value, inputTag.getAttribute("VALUE"));
}
public void testScan() throws ParserException {
createParser(FORM_HTML, "http://www.google.com/test/index.html");
parser.addScanner(new FormScanner("", parser));
parseAndAssertNodeCount(1);
assertTrue("Node 0 should be Form Tag", node[0] instanceof FormTag);
FormTag formTag = (FormTag) node[0];
assertStringEquals("Method", FormTag.POST, formTag.getFormMethod());
assertStringEquals("Location", "http://www.google.com/test/do_login.php", formTag.getFormLocation());