DaleqSupportBean implements FactoryBean<DaleqSupport>, InitializingBean { @Override public Class<?> getObjectType() { return DaleqSupport.class; }  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 class_shouldBe_DaleqSupport() { init(); final Class<?> clazz = bean.getObjectType(); final Class<?> expected = DaleqSupport.class; assertThat(clazz.equals(expected), is(true)); }