def METHOD_NAME(self):
    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)
    creds = get_token(self.user)
    self.assertIsNotNone(creds)