public void testParseComplexStuff() throws Exception {
Reader source = new InputStreamReader(
this.getClass().getResourceAsStream("browser_debug.js"));
Parser parser = new Parser();
AstRoot ast = parser.parse(source, "browser_debug.js", 1);
String debugString = ast.debugPrint();
assertTrue(debugString.contains("getRequiresAndProvides"));
assertTrue(debugString.contains("ARRAYLIT"));
}
}