public void DefaultValues()
        {
            var sut = new ExpressionStatement();

            Assert.AreEqual(new UnknownExpression(), sut.Expression);
            Assert.AreNotEqual(0, sut.GetHashCode());
            Assert.AreNotEqual(1, sut.GetHashCode());
        }
        public void Equality_Default()
        {
            var a = new ExpressionStatement();
            var b = new ExpressionStatement();

            Assert.AreEqual(a, b);
            Assert.AreEqual(a.GetHashCode(), b.GetHashCode());
        }
        public void Equality_DifferentExpression()
        {
            var a = new ExpressionStatement {
                Expression = new NullExpression()
            };
            var b = new ExpressionStatement();

            Assert.AreNotEqual(a, b);
            Assert.AreNotEqual(a.GetHashCode(), b.GetHashCode());
        }
        public void Equality_ReallyTheSame()
        {
            var a = new ExpressionStatement {
                Expression = new NullExpression()
            };
            var b = new ExpressionStatement {
                Expression = new NullExpression()
            };

            Assert.AreEqual(a, b);
            Assert.AreEqual(a.GetHashCode(), b.GetHashCode());
        }