// register standard scanners (Very Important)
parser.registerScanners();
String temp = null;
for (NodeIterator e = parser.elements(); e.hasMoreNodes();)
{
Node newNode = e.nextNode(); // Get the next HTML Node
temp = newNode.toHtml();
}
assertNotNull("No nodes", temp);
assertEquals(
"Incorrect HTML output: ",
"<A HREF=\"http://www.google.com/webhp?hl=en\"></A>",