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());
assertStringEquals("Name", "login_form", formTag.getFormName());
InputTag nameTag = formTag.getInputTag("name");
InputTag passwdTag = formTag.getInputTag("passwd");
InputTag submitTag = formTag.getInputTag("submit");
InputTag dummyTag = formTag.getInputTag("dummy");
assertNotNull("Input Name Tag should not be null", nameTag);
assertNotNull("Input Password Tag should not be null", passwdTag);
assertNotNull("Input Submit Tag should not be null", submitTag);
assertNull("Input dummy tag should be null", dummyTag);