### Question:
SetterInjectionBean { @Override public String toString() { return "SetterInjectionBean{" + "date=" + date + ", plainModelOne=" + plainModelOne + ", string='" + string + '\'' + '}'; }  void setString(String string); void setDate(Date date); void setPlainModelOne(PlainModelOne plainModelOne); @Override String toString();  }### Answer:
@Test public void testToString() throws Exception { SetterInjectionBean setterInjectionBean = getBean("setterInjectionBean", SetterInjectionBean.class); System.out.println(PrintUtil.formatTestResult(setterInjectionBean)); }