public void validateUsing(Validator<String> validator) throws ValidationException {
        for (String matcher : matchers) {
            ValidationBean validationBean = validator.validate(matcher);
            if (!validationBean.isValid()) {
                throw new ValidationException(validationBean.getError());
            }
        }
    }
@Test
    void shouldValidateAllMatchersUsingAValidator() throws Exception {
        new Matcher(new String[]{"aaa,a"}).validateUsing(Validator.lengthValidator(200));
    }