### Question:
CFMLParser { public ArrayList<Element> getAllTags() { ArrayList<Element> allTags = new ArrayList<Element>(); Iterator<String> sources = fCfmlSources.keySet().iterator(); while (sources.hasNext()) { allTags.addAll(((CFMLSource) fCfmlSources.get(sources.next())).getAllElements()); } return allTags; } 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 testGetAllTags() { List<Element> elementList = fCfmlParser.getAllTags(); for (Element element : elementList) { System.out.println("-------------------------------------------------------------------------------"); System.out.println(element.getDebugInfo()); if (element.getAttributes() != null) { System.out.println("XHTML StartTag:\n" + element.getStartTag().tidy(true)); System.out.println("Attributes:\n" + element.getAttributes()); } System.out.println("Source text with content:\n" + element); } assertEquals(21, elementList.size()); }