Пример #1
0
        public void TestEval()
        {
            var sale = new Sale {
                Bill = new Bill {
                    AmountIsZero = true
                }
            };
            var expr   = new PropertyExpression(new [] { "Bill.AmountIsZero" });
            var actual = expr.Eval(sale);

            actual.Should().BeTrue();
        }