### Question:
ApplicationContextAwareBean implements ApplicationContextAware { @Override public String toString() { return "ApplicationContextAwareBean{" + "applicationContext=" + applicationContext.getClass().getSimpleName() + '}'; }  @Override void setApplicationContext(ApplicationContext applicationContext); @Override String toString();  }### Answer:
@Test public void testToString() throws Exception { ApplicationContextAwareBean applicationContextAwareBean = getBean(ApplicationContextAwareBean.class); System.out.println(PrintUtil.formatTestResult(applicationContextAwareBean)); }