public void WhenParameterIsEqualToMinValue_DoesNotThrowException()
        {
            //ARRANGE
            var temp = 3;
            var nullValidator = new MinValueValidatorWithValue<int>(() => temp, temp, 3);

            //ACT
            nullValidator.Validate();

            //ASSERT
        }
        public void WhenParameterIsLessThanMinValue_ThrowsException()
        {
            //ARRANGE
            var temp = 3;
            var nullValidator = new MinValueValidatorWithValue<int>(() => temp, temp, 4);

            //ACT
            TestDelegate testDelegate = nullValidator.Validate;

            //ASSERT
            var exception = Assert.Throws<ArgumentOutOfRangeException>(testDelegate);
            Assert.AreEqual("temp", exception.ParamName);
        }