this.openIdService = OpenIdService.createServiceFrom(request);
}
public void testGetResponse() {
final Response response = this.openIdService.getResponse("test");
assertNotNull(response);
assertEquals("test", response.getAttributes().get("openid.assoc_handle"));
assertEquals("http://www.ja-sig.org/?service=fa", response.getAttributes().get("openid.return_to"));
assertEquals("http://openid.ja-sig.org/battags", response.getAttributes().get("openid.identity"));
final Response response2 = this.openIdService.getResponse(null);
assertEquals("cancel", response2.getAttributes().get("openid.mode"));
}