@Test public void testToString() throws Exception { ResourceAnnotationBean bean = getBean(ResourceAnnotationBean.class); System.out.println(PrintUtil.formatTestResult(bean)); }
@Override public String toString() { return "ResourceAnnotationBean{" + "plainModelOne=" + plainModelOne + ", plainModelOnlyThreeSingleton=" + plainModelOnlyThreeSingleton + ", plainModelTwo=" + plainModelTwo + ", plainModelFour=" + plainModelFour + ", context=" + context.getClass().getSimpleName() + '}'; }
ResourceAnnotationBean { @Override public String toString() { return "ResourceAnnotationBean{" + "plainModelOne=" + plainModelOne + ", plainModelOnlyThreeSingleton=" + plainModelOnlyThreeSingleton + ", plainModelTwo=" + plainModelTwo + ", plainModelFour=" + plainModelFour + ", context=" + context.getClass().getSimpleName() + '}'; } }
ResourceAnnotationBean { @Override public String toString() { return "ResourceAnnotationBean{" + "plainModelOne=" + plainModelOne + ", plainModelOnlyThreeSingleton=" + plainModelOnlyThreeSingleton + ", plainModelTwo=" + plainModelTwo + ", plainModelFour=" + plainModelFour + ", context=" + context.getClass().getSimpleName() + '}'; }  }
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(); }
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();  }