public void CloningBasicDummyObject() { var d = new Dummy1 {v1 = "Value of V1", v2 = "Value of v2"}; var dCloned = d.ShallowClone(); d.v1.Should().Be(dCloned.v1); d.v2.Should().Be(dCloned.v2); }
public void CloningBasicDummyObject() { var d = new Dummy1 { v1 = "Value of V1", v2 = "Value of v2" }; var dCloned = d.ShallowClone(); d.v1.Should().Be(dCloned.v1); d.v2.Should().Be(dCloned.v2); }