def METHOD_NAME(rf, graphql_client, user, grant_factory, mocker):
    graphql_client.force_login(user)
    grant = grant_factory(user_id=user.id, status=Grant.Status.waiting_for_confirmation)
    mock_publisher = mocker.patch("api.grants.mutations.notify_new_grant_reply")
    response = _send_grant_reply(graphql_client, grant, status="refused", message="wtf")
    assert response["data"]["sendGrantReply"]["__typename"] == "Grant"
    mock_publisher.assert_called_once_with(grant, ANY)