### Question:
CFMLParser { public CFScriptStatement parseScriptFile(String file) throws ParseException, IOException { return parseScript(readFileAsString(file)); } CFMLParser();  CFMLParser(String dictionariesPath, String dictionary); void clearDFA(); CFExpression parseCFExpression(String _infix, ANTLRErrorListener errorReporter); CFExpression parseCFMLExpression(String _infix, ANTLRErrorListener errorReporter); void visit(final Element elem, final int level, CFMLVisitor visitor); void setDictionary(SyntaxDictionary newDict); SyntaxDictionary getDictionary(); void addDictionary(String dictionary); CFMLSource addCFMLSource(String path, String cfmlsource); CFMLSource addCFMLSource(File cfmlsource); CFMLSource addCFMLSource(URL url); ArrayList<StartTag> getCFMLTags(); ArrayList<Element> getAllTags(); String getCacheDebugInfo(); String getDebuggingInfo(); boolean hadFatal(); void addMessage(ParseMessage newMsg); void addMessages(ArrayList<?> newMessages); ArrayList<ParseMessage> getMessages(); String printMessages(); void parseElements(CFMLSource cfmlSource); CFScriptStatement parseScriptFile(String file); CFScriptStatement parseScript(String cfscript); CommonTokenStream createTokenStream(String cfscript); ScriptBlockContext parseScriptBlockContext(String cfscript); ScriptBlockContext parseScriptBlockContext(final CommonTokenStream tokens); void parse(); CFMLSource getCFMLSource(String path); void setErrorReporter(IErrorReporter errorReporter); void reset();  }### Answer:
@Test public void testParseScriptCfcWow() { String path = ""; try { path = new URL("file:src/test/resources/cfml/ScriptComponentWow.cfc").getPath(); } catch (MalformedURLException e) { e.printStackTrace(); } CFScriptStatement scriptStatement = null; try { scriptStatement = fCfmlParser.parseScriptFile(path); } catch (Exception e) { e.printStackTrace(); } System.out.println(scriptStatement.toString()); assertNotNull(scriptStatement); }
@Test public void testParseScriptCfcGood() { String path = ""; try { path = new URL("file:src/test/resources/cfml/ScriptComponent.cfc").getPath(); } catch (MalformedURLException e) { e.printStackTrace(); } CFScriptStatement scriptStatement = null; try { scriptStatement = fCfmlParser.parseScriptFile(path); } catch (Exception e) { e.printStackTrace(); } System.out.println(scriptStatement.toString()); assertNotNull(scriptStatement); }
@Test public void testParseScriptCfcHarder() { String path = ""; try { path = new URL("file:src/test/resources/cfml/ScriptComponentHarder.cfc").getPath(); } catch (MalformedURLException e) { e.printStackTrace(); } CFScriptStatement scriptStatement = null; try { scriptStatement = fCfmlParser.parseScriptFile(path); } catch (Exception e) { e.printStackTrace(); } System.out.println(scriptStatement.toString()); assertNotNull(scriptStatement); }