Esempio n. 1
0
        public void ObjectFieldsAreNotCopied()
        {
            var c = new ClassWithObjectFields();

            c.SetValue(new ClassWithFields());

            var newC = c.ShallowCopy();

            Assert.Null(newC.GetValue());
        }
Esempio n. 2
0
        public void ObjectFieldsAreNotCopied()
        {
            var c = new ClassWithObjectFields();
            c.SetValue(new ClassWithFields());

            var newC = c.ShallowCopy();
            Assert.Null(newC.GetValue());
        }