"document.write(\"<img src=\\\"http://www.parsads.com/adserve/scriptinject.asp?F=4&Z=3,4,5,10,12&N=1&U=644&O=&nocache=\" + nIndexs + \"\\\" width=\\\"1\\\" hight=\\\"1\\\"><img src=\\\"http://www.parsads.com/adserve/scriptinject.asp?F=4&Z=3,4,5,10,12&N=1&U=643&O=&nocache=\" + nIndexs + \"\\\" width=\\\"1\\\" hight=\\\"1\\\"><img src=\\\"http://www.parsads.com/adserve/scriptinject.asp?F=4&Z=3,4,5,10,12&N=1&U=324&O=&nocache=\" + nIndexs + \"\\\" width=\\\"1\\\" hight=\\\"1\\\">\");\r\n";
parser = new Parser (url);
NodeList scripts = parser.extractAllNodesThatMatch (new TagNameFilter ("SCRIPT"));
assertEquals ("wrong number of scripts found", 2, scripts.size ());
ScriptTag script = (ScriptTag)scripts.elementAt (1);
assertStringEquals ("script not decoded correctly", plaintext, script.getScriptCode ());
}