@Test
public void ifSubschemaFailureElseSubschemaFailure() {

    ConditionalSchema.Builder subject = ConditionalSchema.builder().ifSchema(PATTERN_STRING_SCHEMA)
            .elseSchema(MAX_LENGTH_STRING_SCHEMA);
    TestSupport.failureOf(subject)
            .expectedKeyword("else")
            .expectedPointer("#")
            .input("barbar")
            .expect();
}