public void testGetBeanReturnsDifferentInstance() {
   final ClassWithStringPropertyPrototypeFactoryBean factoryBean =
       new ClassWithStringPropertyPrototypeFactoryBean();
   final Object first = factoryBean.getObject();
   final Object second = factoryBean.getObject();
   assertNotSame(first, second);
 }
  public void testGetBean() {
    final ClassWithStringPropertyPrototypeFactoryBean factoryBean =
        new ClassWithStringPropertyPrototypeFactoryBean();
    final Object bean = factoryBean.getObject();
    assertTrue("" + bean, bean instanceof ClassWithStringProperty);

    final ClassWithStringProperty bean0 = (ClassWithStringProperty) bean;
    assertEquals("stringProperty", STRING_VALUE, bean0.getStringProperty());
  }