def METHOD_NAME(graphql_client, user, grant_factory, user_factory):
    graphql_client.force_login(user)
    other_user = user_factory()
    grant = grant_factory(user_id=other_user.id)
    response = _send_grant_reply(graphql_client, grant, status="refused")
    assert response["data"]["sendGrantReply"]["__typename"] == "SendGrantReplyError"
    assert (
        response["data"]["sendGrantReply"]["message"]
        == "You cannot reply to this grant"
    )