### Question:
Symbol { public String toString() { return name; } protected  Symbol(); protected  Symbol(String name); static Symbol get(String name); String toString(); String toDotString(); int length();  }### Answer:
@Test public void testString() { assertEquals("foo", foo.toString()); assertEquals("bar", bar.toString()); }