### Question:
ResourceAnnotationBean { @Override public String toString() { return "ResourceAnnotationBean{" + "plainModelOne=" + plainModelOne + ", plainModelOnlyThreeSingleton=" + plainModelOnlyThreeSingleton + ", plainModelTwo=" + plainModelTwo + ", plainModelFour=" + plainModelFour + ", context=" + context.getClass().getSimpleName() + '}'; }  @Resource void setPlainModelFour(PlainModelFour plainModelFourOnlyFourSingleton); @Override String toString();  }### Answer:
@Test public void testToString() throws Exception { ResourceAnnotationBean bean = getBean(ResourceAnnotationBean.class); System.out.println(PrintUtil.formatTestResult(bean)); }