public void Constraint_MultipleGreaterThanConstraintExpressions_ConstraintsAreResolved()
        {
            var result = new DataBuilder()
                         .Constraint(d => d.Date2 > d.Date1)
                         .Constraint(d => d.Date3 > d.Date1)
                         .Constraint(d => d.Date3 > d.Date2)
                         .Build();

            Assert.IsTrue(result.Date2 > result.Date1);
            Assert.IsTrue(result.Date3 > result.Date1);
            Assert.IsTrue(result.Date3 > result.Date2);
        }
        public void Constraint_GreatherThanConstant_ConstraintsAreResolved()
        {
            var result = new DataBuilder().Constraint(d => d.Number1 > 7).Build();

            Assert.IsTrue(result.Number1 > 7);
        }
        public void Constraint_SingleSmallerThanConstraintExpression_ConstraintsAreResolved()
        {
            var result = new DataBuilder().Constraint(d => d.Date2 < d.Date1).Build();

            Assert.IsTrue(result.Date2 < result.Date1);
        }