123124125126127128129130131132133
replay(); FieldValidatorSource source = new FieldValidatorSourceImpl(messagesSource, coercer, fs, map, null); FieldValidator fieldValidator = source.createValidator(field, "required", null); fieldValidator.validate(inputValue); verify(); }
168169170171172173174175176177178
211212213214215216217218219220221
270271272273274275276277278279280
replay(); FieldValidatorSource source = new FieldValidatorSourceImpl(messagesSource, coercer, fs, map, macro); FieldValidator fieldValidator = source.createValidators(field, "minlength"); fieldValidator.validate(inputValue); verify(); }
328329330331332333334335336337338
429430431432433434435436437438439
replay(); FieldValidatorSource source = new FieldValidatorSourceImpl(messagesSource, coercer, fs, map, macro); FieldValidator fieldValidator = source.createValidators(field, "required"); fieldValidator.validate(inputValue); verify(); }
583584585586587588589590591592593
replay(); FieldValidatorSource source = new FieldValidatorSourceImpl(messagesSource, coercer, fs, map, macro); FieldValidator fieldValidator = source.createValidators(field, "required,minLength=15"); fieldValidator.validate(inputValue); verify(); }
635636637638639640641642643644645
replay(); FieldValidatorSource source = new FieldValidatorSourceImpl(messagesSource, coercer, fs, map, null); FieldValidator fieldValidator = source.createValidator(field, "minLength", "5"); fieldValidator.validate(inputValue); verify(); }
121122123124125126127128129130131
replay(); FieldValidatorSource source = new FieldValidatorSourceImpl(globalMessages, coercer, fs, map, macro); FieldValidator fieldValidator = source.createValidator(field, "required", null); fieldValidator.validate(inputValue); verify(); }
167168169170171172173174175176177
replay(); FieldValidatorSource source = new FieldValidatorSourceImpl(null, coercer, fs, map, macro); FieldValidator fieldValidator = source.createValidator(field, "required", null); fieldValidator.validate(inputValue); verify(); }