DaleqSupportBean implements FactoryBean<DaleqSupport>, InitializingBean { @Override public boolean isSingleton() { return true; }  void setDataSource(final DataSource dataSource); void setDataTypeFactory(final IDataTypeFactory dataTypeFactory); void setDataSetFactory(final IDataSetFactory dataSetFactory); @Override void afterPropertiesSet(); @Override DaleqSupport getObject(); @Override Class<?> getObjectType(); @Override boolean isSingleton();  }
@Test public void bean_should_beSingleton() { init(); assertThat(bean.isSingleton(), is(true)); }