Symbol { @Override public String toString() { return this.getSymbolString(); } Symbol();  Symbol(String newString, Enums.SymbolType newType);  Symbol(Symbol copy); void setType(Enums.SymbolType newType); Enums.SymbolType getType(); String getSymbolString(); void setSymbolString(String s); boolean equals(Symbol newSymbol); boolean equals(String newSymbol); void clear(); @Override String toString();  }
@Test public void testToString() { System.out.println("* SymbolTest: toString"); Symbol instance = new Symbol("test", Enums.SymbolType.TSymbol); assertEquals("test", instance.toString()); }