mockUserProfileLoader = mockery.mock(UserProfileLoader.class);
mockAuthenticationManager = mockery.mock(AuthenticationManager.class);
mockAuthorizationManager = mockery.mock(AuthorizationManager.class);
configuration = new IsisConfigurationDefault();
reflector = new TestProxyReflector();
persistenceSession = new TestProxyPersistenceSession(mockPersistenceSessionFactory);
mockery.checking(new Expectations() {
{
one(mockPersistenceSessionFactory).createPersistenceSession();