### Question:
SymbolList extends ArrayList<Symbol> { @Override public String toString() { StringBuilder sb = new StringBuilder(); for (int i = 0; i < size(); i++) { if (i > 0) { sb.append(" "); } sb.append(get(i)); } return sb.toString(); } SymbolList();  SymbolList(int size); Symbol findByName(String name); @Override String toString(); static final String SYMBOL_COMMENT; static final String SYMBOL_COMMENT_BLOCK; static final String SYMBOL_COMMENT_LINE; }### Answer:
@Test public void testToString() { SymbolList symbols = new SymbolList(); symbols.add(new Symbol("Symbol1", SymbolType.CONTENT, 1)); symbols.add(new Symbol("Symbol2", SymbolType.CONTENT, 2)); symbols.add(new Symbol("Symbol3", SymbolType.CONTENT, 3)); assertEquals("wrong text", "'Symbol1' 'Symbol2' 'Symbol3'", symbols.toString()); }