TransactionManagerFactoryBean implements FactoryBean<TransactionManager> { @Override public boolean isSingleton() { return true; }  @Override TransactionManager getObject(); @Override Class<TransactionManager> getObjectType(); @Override boolean isSingleton();  }
@Test public void testIsSingleton() throws Exception { assertTrue(transactionManagerFactoryBean.isSingleton()); }