final DomainObjectContainerDefault container = new DomainObjectContainerDefault();
runtimeContext.injectInto(container);
runtimeContext.setContainer(container);
servicesInjector = new ServicesInjectorDefault();
servicesInjector.setContainer(container);
adapterManager = new AdapterManagerDefault(new PojoRecreatorDefault());
adapterFactory = new PojoAdapterFactory();
persistenceSession = new PersistenceSession(mockPersistenceSessionFactory, adapterFactory, objectFactory, servicesInjector, new OidGenerator(new IdentifierGeneratorDefault()), adapterManager, mockPersistAlgorithm, mockObjectStore) {