runtimeContext.injectInto(container);
servicesInjector = new ServicesInjectorDefault(new InjectorMethodEvaluatorDefault());
adapterManager = new AdapterManagerDefault(new PojoRecreatorUnified(mockConfiguration));
adapterFactory = new PojoAdapterFactory();
persistenceSession = new PersistenceSession(mockPersistenceSessionFactory, adapterFactory, servicesInjector, new OidGenerator(new IdentifierGeneratorDefault()), adapterManager, mockObjectStore, mockConfiguration) {
@Override
protected SpecificationLoaderSpi getSpecificationLoader() {
return isisMetaModel.getSpecificationLoader();