def METHOD_NAME(self):
    # given
    self.session._client.add_token.side_effect = [
        TokenExpiredError,
        (self.updated_url, self.updated_headers, self.updated_body),
    ]
    # when
    updated_request = self.neptune_auth(self.request)
    # then
    self.session._client.add_token.assert_called_with(
        self.url, http_method=self.method, body=self.body, headers=self.headers
    )
    # and
    self.assertEqual(self.updated_url, updated_request.url)
    self.assertEqual(self.updated_headers, updated_request.headers)
    self.assertEqual(self.updated_body, updated_request.body)