def METHOD_NAME(self):
    claims = {
        "id_token": {
            "claim_1": None,
            "claim_2": {
                "essential": True
            }
        },
        "userinfo": {
            "claim_3": {
                "essential": True
            },
            "claim_4": None
        }
    }
    claims_urlquoted = '%7B%22id_token%22%3A%20%7B%22claim_2%22%3A%20%7B%22essential%22%3A%20true%7D%2C%20%22claim_1%22%3A%20null%7D%2C%20%22userinfo%22%3A%20%7B%22claim_4%22%3A%20null%2C%20%22claim_3%22%3A%20%7B%22essential%22%3A%20true%7D%7D%7D'
    uri = 'http://example.com/path?client_id=abc&scope=openid+test_scope&response_type=code&claims=%s'
    h, b, s = self.server.create_authorization_response(uri % claims_urlquoted, scopes='openid test_scope')
    self.assertDictEqual(self.claims_from_auth_code_request, claims)
    code = get_query_credentials(h['Location'])['code'][0]
    token_uri = 'http://example.com/path'
    _, body, _ = self.server.create_token_response(
        token_uri,
        body='client_id=me&redirect_uri=http://back.to/me&grant_type=authorization_code&code=%s' % code
    )
    self.assertDictEqual(self.claims_saved_with_bearer_token, claims)