}
@SuppressWarnings("unchecked")
public void testScopeable() {
LifecycleManagersRegistry factoryRegistry = new LifecycleManagersRegistry();
factoryRegistry.addFactoryFactory(new ScopeLifecycleManager());
// default
assertEquals(SingletonObjectFactory.class, factoryRegistry
.getObjectFactory(ProviderA.class).getClass());