def METHOD_NAME(
    self, authenticated_client, basic_client, oauth2_token_service, token_response
):
    token = authenticated_client.get_token("authorization_code")
    assert token == "new_access_token"
    basic_client.send.assert_called_once_with(
        "POST",
        "login/oauth2/token",
        url_stub="",
        params={
            "grant_type": "authorization_code",
            "client_id": sentinel.client_id,
            "client_secret": sentinel.client_secret,
            "code": "authorization_code",
            "redirect_uri": sentinel.redirect_uri,
            "replace_tokens": True,
        },
        schema=OAuthTokenResponseSchema,
        timeout=(10, 10),
    )
    oauth2_token_service.save.assert_called_once_with(
        token_response["access_token"],
        token_response["refresh_token"],
        token_response["expires_in"],
    )