@Test public final void assertThatGetObjectTypeReturnsAppropriateType() { final ComposableXmlConfigFactoryBean objectUnderTest = newObjectUnderTest(); assertTrue("getObjectType() should have returned a subtype of " + Config.class.getName(), Config.class.isAssignableFrom(objectUnderTest.getObjectType())); }
@Override public Class<?> getObjectType() { return this.product != null ? this.product.getClass() : Config.class; }
ComposableXmlConfigFactoryBean implements FactoryBean<Config>,
        InitializingBean { @Override public Class<?> getObjectType() { return this.product != null ? this.product.getClass() : Config.class; } }
ComposableXmlConfigFactoryBean implements FactoryBean<Config>,
        InitializingBean { @Override public Class<?> getObjectType() { return this.product != null ? this.product.getClass() : Config.class; }  }
ComposableXmlConfigFactoryBean implements FactoryBean<Config>,
        InitializingBean { @Override public Class<?> getObjectType() { return this.product != null ? this.product.getClass() : Config.class; }  @Required final void setGlobalXmlConfigFile(final Resource globalXmlConfigFile); @Required final void setDataRootDirectory(final Resource dataRootDirectory); final void setDataFileSuffix(final String dataFileSuffix); @Override Config getObject(); @Override Class<?> getObjectType(); @Override boolean isSingleton(); @Override void afterPropertiesSet(); }
ComposableXmlConfigFactoryBean implements FactoryBean<Config>,
        InitializingBean { @Override public Class<?> getObjectType() { return this.product != null ? this.product.getClass() : Config.class; }  @Required final void setGlobalXmlConfigFile(final Resource globalXmlConfigFile); @Required final void setDataRootDirectory(final Resource dataRootDirectory); final void setDataFileSuffix(final String dataFileSuffix); @Override Config getObject(); @Override Class<?> getObjectType(); @Override boolean isSingleton(); @Override void afterPropertiesSet();  }