### Question:
Foo { @Override public String toString() { System.out.println(ToString.toString(this.getClass(), bar.getClass(), baz.getClass())); return ToString.toString(this.getClass(), bar.getClass(), baz.getClass()); } Foo();  Foo(Bar bar, Baz baz);  Foo(Map<String, Float> accounts); void iterateMap(); void setAccounts(Map<String, Float> accounts); @Override String toString();  }### Answer:
@Test public void testToString() throws Exception { Foo foo = getBean(Foo.class); foo.toString(); }