def METHOD_NAME(self, user, data, **kwargs):
    response = get_method(user, "invitations", **kwargs)
    assert response.status_code == HTTPStatus.OK
    assert DeepDiff(data, response.json()["results"]) == {}