assertNotNull( a );
assertEquals( a.getAttribute( "name" ), "Test" );
HtmlParagraph p = (HtmlParagraph) elementIterator.next();
assertNotNull( p );
assertEquals( p.asText().trim(), "You should see a JavaScript alert..." );
HtmlScript script = (HtmlScript) elementIterator.next();
assertNotNull( script );
assertEquals( script.getAttribute( "type" ), "text/javascript" );
assertEquals( script.asText().trim(), "" );