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(); }