@Test public void testToString() throws Exception { System.out.println(PrintUtil.formatTestResult(Arrays.toString(context.getBeanDefinitionNames()))); System.out.println(PrintUtil.formatTestResult( context.getBean("org.springframework.samples.ioc.schema.alias.WithoutIdBean"))); }
@Override public String toString() { return "WithoutIdBean{}"; }
WithoutIdBean { @Override public String toString() { return "WithoutIdBean{}"; } }
WithoutIdBean { @Override public String toString() { return "WithoutIdBean{}"; }  }
WithoutIdBean { @Override public String toString() { return "WithoutIdBean{}"; }  @Override String toString(); }
WithoutIdBean { @Override public String toString() { return "WithoutIdBean{}"; }  @Override String toString();  }