public static ValAssertion valErrContainsIgnoreCase(final String... expectedSubStrings) {
        return (Val actual) -> {
            Assertions.assertThat(actual)
                    .isInstanceOf(ValErr.class);

            for (final String expectedSubString : expectedSubStrings) {
                Assertions.assertThat(actual.toString())
                        .containsIgnoringCase(expectedSubString);
            }
        };
    }
@param expectedSubStrings sub-strings that are expected to appear in the error message in any order.
stroom-query/stroom-query-language/src/test/java/stroom/query/language/functions/ValAssertions.java