code: public void isInvalid() {
          ValidationResult validateResult = validate();
          if (validateResult.isValid()) {
              throwAssertionError(shouldBeInvalid(actual.getSystemId()));
          }
      }
docs: Verifies that actual value is not valid against given schema
  
  @throws AssertionError if the actual value is valid against schema