def METHOD_NAME(self, client):
    try:
        client.validation_of_method_parameters("123", 2000)
    except ValidationError as err:
        assert err.rule ==  "maximum"
        assert err.target ==  "id"