public void TestExpressionDataToStringWhenNameIsSpecifiedReturnsTypeAndName()
        {
            var expression = Expression.Constant(null, typeof(object));
            var expressionData = new ExpressionData(expression, expression.Type, "SomeProperty");

            Assert.AreEqual("Type: System.Object, Name: SomeProperty", expressionData.ToString());
        }
        public void TestExpressionDataToStringReturnsType()
        {
            var expression = Expression.Constant(null, typeof(object));
            var expressionData = new ExpressionData(expression, expression.Type);

            Assert.AreEqual("Type: System.Object", expressionData.ToString());
        }