protected void setUp() throws Exception {
super.setUp();
deploymentContext = new RootDeploymentContext(null, null, null, null);
parent = EasyMock.createNiceMock(CompositeComponent.class);
registry = new ScopeRegistryImpl(new WorkContextImpl());
new StatelessScopeObjectFactory(registry);
}