def METHOD_NAME(self):
    self.setUp_credentials()
    self.mocked_get_token.return_value = stringify_credentials(self.create_new_credentials("new_token"))
    request = self.factory.get('', {'state': 101})
    request.user = self.user
    call_back_view(request, self.domain)
    stringified_creds = get_token(self.user)
    creds = load_credentials(stringified_creds.token)
    self.assertEqual(creds.token, "new_token")