### Question:
Foo { public void iterateMap() { Set<String> keys = accounts.keySet(); for (String key : keys) { System.out.println("Key : " + key + ", value: " + accounts.get(key)); } } 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 testIterateMap() throws Exception { Foo foo = getBean(Foo.class); foo.iterateMap(); }