TransactionManagerFactoryBean implements FactoryBean<TransactionManager> { @Override public Class<TransactionManager> getObjectType() { return TransactionManager.class; }  @Override TransactionManager getObject(); @Override Class<TransactionManager> getObjectType(); @Override boolean isSingleton();  }
@Test public void testGetObjectType() throws Exception { assertEquals(TransactionManager.class, transactionManagerFactoryBean.getObjectType()); }