testProxyObjectAdapter.setupOid(new TestProxyOid(nextId++));
return testProxyObjectAdapter;
}
public void init() {
reflector.setRuntimeContext(new RuntimeContextFromSession());
final IsisSessionFactory sessionFactory = new IsisSessionFactoryDefault(DeploymentType.EXPLORATION, configuration, noopTemplateImageLoader, reflector, authenticationManager, authorizationManager, userProfileLoader, persistenceSessionFactory, servicesList);
persistenceSession.setSpecificationLoader(reflector);
// this implementation of persistenceSession will automatically inject