public void ShouldBeReturnedFalseWhenEvaluateGreaterThanConstraintAndPropertyNotExists()
        {
            var data       = ObjectHelper.ToDictionary(new { });
            var constraint = new GreaterThanConstraint("Age", 18);
            var result     = constraint.Evaluate(data);

            Assert.False(result);
        }
        public void ShouldBeReturnedFalseWhenEvaluateGreaterThanConstraintAndValueIsADateLessThanConstraint()
        {
            var data       = ObjectHelper.ToDictionary(new { Deadline = DateTime.Today.AddDays(-1) });
            var constraint = new GreaterThanConstraint("Deadline", DateTime.Today);
            var result     = constraint.Evaluate(data);

            Assert.False(result);
        }
        public void ShouldBeReturnedFalseWhenEvaluateGreaterThanConstraintAndValueHasAnotherType()
        {
            var data       = ObjectHelper.ToDictionary(new { Age = "Older" });
            var constraint = new GreaterThanConstraint("Age", 18);
            var result     = constraint.Evaluate(data);

            Assert.False(result);
        }