Exemplo n.º 1
0
        public void Can_get_expression_path()
        {
            ExpressionParser<TestNestedObject, object> parser = new ExpressionParser<TestNestedObject, object>();

            string path = parser.GetPropertyPathFromExpression(t => t.Name);

            Assert.AreEqual("Name", path);
        }