def METHOD_NAME():
    client = RESTAPIClient(_REMOTE)
    def callback(request, uri, response_headers):
        return [500, response_headers, "Guru Meditation deadcafebeef-feed12345678"]
    httpretty.register_uri(httpretty.HTTPretty.POST, _ENDPOINT + "/refresh_token", body=callback)
    with pytest.raises(AuthAPIError) as e:
        client.get_refresh_token("someuser", "somepassword")
    assert "500 Server Error: Internal Server Error" in str(e.value.__cause__)