@Test public void testToString() throws Exception { BeanNameAwareBean beanNameAwareBean = getBean(BeanNameAwareBean.class); System.out.println(PrintUtil.formatTestResult(beanNameAwareBean)); }
@Override public String toString() { return "BeanNameAwareBean{" + "name='" + name + '\'' + '}'; }
BeanNameAwareBean implements BeanNameAware { @Override public String toString() { return "BeanNameAwareBean{" + "name='" + name + '\'' + '}'; } }
BeanNameAwareBean implements BeanNameAware { @Override public String toString() { return "BeanNameAwareBean{" + "name='" + name + '\'' + '}'; }  }
BeanNameAwareBean implements BeanNameAware { @Override public String toString() { return "BeanNameAwareBean{" + "name='" + name + '\'' + '}'; }  @Override void setBeanName(String name); @Override String toString(); }
BeanNameAwareBean implements BeanNameAware { @Override public String toString() { return "BeanNameAwareBean{" + "name='" + name + '\'' + '}'; }  @Override void setBeanName(String name); @Override String toString();  }