public void CanClone_Collection() { DetailCollection collection = new DetailCollection(); collection.Add("hello"); DetailCollection cloned = collection.Clone(); Assert.That(cloned.Contains("hello")); }
public void ClonedCollection_IdentifierIsCleared() { DetailCollection collection = new DetailCollection(); collection.Add("hello"); DetailCollection cloned = collection.Clone(); Assert.That(cloned.ID, Is.EqualTo(0)); }