HttpServletRequest req = createMockRequest(session);
AuthRequest authRequest = createMockAuthRequest();
AuthSuccess authSuccess = createMockAuthSuccess(createMockFetchResponse(), createRegResponse(),
true, true);
Identifier id = createMockIdentifier();
VerificationResult result = createMockVerificationResult(id, authSuccess);
//TODO this should return a list of what?
expect(mockManager.discover(eq("discover"))).andReturn(Lists.newArrayList());
expect(mockManager.associate(anyObject(List.class))).andReturn(info);
expect(mockManager.authenticate(eq(info), eq("http://example.com:80/openid/openidcallback"))).andReturn(authRequest);