}
public TestModel(final ConfiguredObjectFactory objectFactory)
{
_objectFactory = objectFactory == null ? new ConfiguredObjectFactoryImpl(this) : objectFactory;
ConfiguredObjectRegistration configuredObjectRegistration = new ConfiguredObjectRegistration()
{
@Override
public Collection<Class<? extends ConfiguredObject>> getConfiguredObjectClasses()
{
return Arrays.<Class<? extends ConfiguredObject>>asList(TestRootCategoryImpl.class, Test2RootCategoryImpl.class);