mockPersistenceSessionFactory = mockery.mock(PersistenceSessionFactory.class);
mockDistribution = mockery.mock(ServerFacade.class);
mockEncoder = mockery.mock(ObjectEncoderDecoder.class);
adapterManager = new AdapterManagerDefault();
adapterFactory = new PojoAdapterFactory();
objectFactory = new ObjectFactoryBasic();
oidGenerator = new TestProxyOidGenerator();
final RuntimeContextFromSession runtimeContext = new RuntimeContextFromSession();
final DomainObjectContainerDefault container = new DomainObjectContainerDefault();