### Question:
CollectionInjectionBean { @Override public String toString() { return "CollectionInjectionBean{" + "list=" + list + ", set=" + set + '}'; }  void setList(List<Object> list); void setSet(Set<Object> set); @Override String toString();  }### Answer:
@Test public void testToString() throws Exception { CollectionInjectionBean collectionInjectionBean = getBean(CollectionInjectionBean.class); System.out.println(collectionInjectionBean); }