@Test public void integerRangeValidator_should_fail_with_upper_smaller_than_lower_bound() { thrown.expect(IllegalArgumentException.class); thrown.expectMessage("lowerBound(42) <= upperBound(0)"); Validators.integerRangeValidator(42, 0); }
public static ValidationCallback integerRangeValidator(int lowerBound, int upperBound) { return new IntegerRangeValidator(lowerBound, upperBound); }
Validators { public static ValidationCallback integerRangeValidator(int lowerBound, int upperBound) { return new IntegerRangeValidator(lowerBound, upperBound); } }
Validators { public static ValidationCallback integerRangeValidator(int lowerBound, int upperBound) { return new IntegerRangeValidator(lowerBound, upperBound); } private  Validators(); }
Validators { public static ValidationCallback integerRangeValidator(int lowerBound, int upperBound) { return new IntegerRangeValidator(lowerBound, upperBound); } private  Validators(); static ValidationCallback charsetValidator(); static ValidationCallback integerRangeValidator(int lowerBound, int upperBound); static ValidationCallback booleanValidator(); }
Validators { public static ValidationCallback integerRangeValidator(int lowerBound, int upperBound) { return new IntegerRangeValidator(lowerBound, upperBound); } private  Validators(); static ValidationCallback charsetValidator(); static ValidationCallback integerRangeValidator(int lowerBound, int upperBound); static ValidationCallback booleanValidator();  }