def METHOD_NAME(self, mock_current_user):
    """Assert decorated functions return the function's result when a user is logged in."""
    mock_current_user.is_authenticated = True
    @authentication.require_token
    def test_func():
        return "Carry on!"
    self.assertEqual("Carry on!", test_func())