public void IsValidShouldReturnFalseIfTheSpecifiedValueIsSmaller()
        {
            GreaterThanOrEqualToValidator validator = new GreaterThanOrEqualToValidator(5);

            Assert.IsFalse(validator.IsValid(4));
            Assert.IsFalse(validator.IsValid(-5));
        }
        public void IsValidShouldReturnFalseIfTheSpecifiedValueIsNotIComparable()
        {
            GreaterThanOrEqualToValidator validator = new GreaterThanOrEqualToValidator(5);

            Assert.IsFalse(validator.IsValid(new Dictionary<string, object>()));
            Assert.IsFalse(validator.IsValid(new List()));
        }
        public void IsValidShouldReturnTrueIfTheSpecifiedValueIsBiggerOrEqual()
        {
            GreaterThanOrEqualToValidator validator = new GreaterThanOrEqualToValidator(-5);

            Assert.IsTrue(validator.IsValid(1));
            Assert.IsTrue(validator.IsValid(-5));
        }
        public void IsValidShouldReturnFalseIfTheSpecifiedValueIsNotSameType()
        {
            GreaterThanOrEqualToValidator validator = new GreaterThanOrEqualToValidator(5);

            Assert.IsFalse(validator.IsValid("0"));
            Assert.IsFalse(validator.IsValid(5M));
            Assert.IsFalse(validator.IsValid(5F));
        }
        public void IsValidShouldReturnTrueIfTheSpecifiedValueIsNull()
        {
            GreaterThanOrEqualToValidator validator = new GreaterThanOrEqualToValidator(5);

            Assert.IsTrue(validator.IsValid(null));
        }