Beispiel #1
0
        public void TestCloneStringLiteral()
        {
            StringLiteral stringLiteral = new StringLiteral()
            {
                Value = "test"
            };

            var clone = stringLiteral.Clone() as StringLiteral;

            Assert.AreEqual(stringLiteral, clone);
            Assert.IsFalse(ReferenceEquals(stringLiteral, clone));
        }