    @Test
    public void form_validator_should_advise_how_a_regex_could_be_improved() throws Exception {

        FormValidation result = validator.doCheckIncludeRegex(")");

        assertThat(result.kind, is(ERROR));
        assertThat(htmlDecoded(result.getMessage()), containsString("Unmatched closing ')'"));
    }