public ValidationAssert isValid ( ) { ValidationResult validationResult = validate ( ) ; if ( ! validationResult . isValid ( ) ) { throwAssertionError ( shouldBeValid ( actual . getSystemId ( ) , validationResult . getProblems ( ) ) ) ; } return this ; }
Verifies that actual value is valid against given schema