Validates the state of an unknown value or a value that does not have a specialized validator.
The returned validator throws an exception immediately if a validation fails. This exception is then
converted into an AssertionError. Exceptions unrelated to validation failures are not converted.
Validates the state of an unknown value or a value that does not have a specialized validator.
The returned validator throws an exception immediately if a validation fails. This exception is then converted into an AssertionError. Exceptions unrelated to validation failures are not converted.