def METHOD_NAME(self):
    """Assert that an invalid token results in a User of ``None``."""
    mock_request = mock.Mock()
    mock_request.headers = {"Authorization": "token " "myinvalidtoken"}
    self.assertEqual(None, authentication.load_user_from_request(mock_request))