    ],
    ids=["valid_payload", "invalid_payload", "valid_uuid", "invalid_uuid"],
)
def test_validators(
    validator: Callable,
    expected_output: Union[str, _client.AnyJson],
    expected_exception: Exception,
    exception_pattern: Optional[str],
):
    if expected_exception: