public void CreateInstanceWithValue()
        {
            var expr = new ConstantExpression(42);

            Assert.IsNotNull(expr.Value);
            Assert.AreEqual(42, expr.Value);
        }
        public void CreateWithNameAndExpression()
        {
            ConstantExpression cexpr = new ConstantExpression(1);
            VariableAssignmentExpression expr = new VariableAssignmentExpression("foo", cexpr);

            Assert.AreEqual("foo", expr.Name);
            Assert.AreSame(cexpr, expr.Expression);
        }