// implicitly created by the system, so reuse
adapterManager = (AdapterManagerExtended) system.getAdapterManager();
adapterFactory = system.getAdapterFactory();
persistenceSession = new PersistenceSessionObjectStore(mockPersistenceSessionFactory, adapterFactory, new TestObjectFactory(), servicesInjector, new TestProxyOidGenerator(), adapterManager, new DummyPersistAlgorithm(), objectStore);
transactionManager = new ObjectStoreTransactionManager(persistenceSession, objectStore);
transactionManager.injectInto(persistenceSession);
servicesInjector.setServices(Collections.emptyList());
persistenceSession.setSpecificationLoader(system.getReflector());