public void IsHigherThan_ValueIsLower_ThrowsException() { IntValidator validator = new IntValidator("test", 1); ExceptionAssert.ThrowsHigherThanValidationException("test", 2, () => { validator.IsHigherThan(2); }); }
public void IsHigherThan_ValueIsHigher_NoException() { IntValidator validator = new IntValidator("test", 1); validator.IsHigherThan(0); }