public void Constructor_Should_NotThrowExceptions_When_CorrectArguments(int precision, int scale, bool onlyPositive)
 {
     Following.Code(() => new NumberValidator(precision, scale, onlyPositive))
     .ShouldNotThrow("arguments are correct");
 }
 public void Constructor_Should_ThrowArgumentException_When_IncorrectArguments(int precision, int scale)
 {
     Following
     .Code(() => new NumberValidator(precision, scale))
     .ShouldThrow <ArgumentException>("arguments are incorrect");
 }