adapterManager = new AdapterManagerDefault();
adapterFactory = new PojoAdapterFactory();
objectFactory = new ObjectFactoryBasic();
oidGenerator = new TestProxyOidGenerator();
final RuntimeContextFromSession runtimeContext = new RuntimeContextFromSession();
final DomainObjectContainerDefault container = new DomainObjectContainerDefault();
runtimeContext.injectInto(container);
runtimeContext.setContainer(container);
final ServicesInjectorDefault servicesInjector = new ServicesInjectorDefault();
servicesInjector.setContainer(container);
persistenceSessionProxy =