### Question:
WithParentAttributeBean { @Override public String toString() { return "WithParentAttributeBean{" + "string='" + string + '\'' + ", plainModelOne=" + plainModelOne + ", plainModelTwo=" + plainModelTwo + ", plainModelThree=" + plainModelThree + '}'; }  void init(); void destroy(); void setString(String string); void setPlainModelOne(PlainModelOne plainModelOne); void setPlainModelTwo(PlainModelTwo plainModelTwo); void setPlainModelThree(PlainModelThree plainModelThree); @Override String toString();  }### Answer:
@Test public void testToString() throws Exception { WithParentAttributeBean withParentAttributeBean = getBean(WithParentAttributeBean.class); System.out.println(PrintUtil.formatTestResult(withParentAttributeBean)); }