def METHOD_NAME(val, validator_aok):
    with pytest.raises(ValueError) as validation_failure:
        validator_aok.validate_coerce(val)
    assert "Invalid element(s)" in str(validation_failure.value)