private void doPrototypeFactoryBeanTest(ClassPathXmlApplicationContext context) {
final Object bean = context.getBean("&singletonAwarePrototypeHolder");
assertTrue(bean instanceof SingletonAwareNamedFactoryBean);
SingletonAwareNamedFactoryBean factoryBean = (SingletonAwareNamedFactoryBean) bean;
assertFalse(factoryBean.isSingleton());
}