Beispiel #1
0
        public void ObjectPropertiesAreNotCopied()
        {
            var c = new ClassWithObjectProperties();

            c.OtherObj = new ClassWithFields();

            var newC = c.ShallowCopy();

            Assert.Null(newC.OtherObj);
        }
Beispiel #2
0
 public void ObjectPropertiesAreNotCopied()
 {
     var c = new ClassWithObjectProperties();
     c.OtherObj = new ClassWithFields();
     
     var newC = c.ShallowCopy();
     Assert.Null(newC.OtherObj);
 }