public void CloneTest() { char code = 'a'; string data = "Test Data"; Subfield target = new Subfield(code, data); Subfield expected = target; Subfield actual = target.Clone(); Assert.AreNotEqual(expected, actual); target.Code = 'b'; string expectedString = "a"; string actualString = actual.Code.ToString(); Assert.AreEqual(expectedString, actualString); target.Data = "New Test Data"; expectedString = data; actualString = actual.Data; Assert.AreEqual(expectedString, actualString); }