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