public void TestCopy() { LMTeam team = LMTeam.DefaultTemplate(10); LMTeam copy = (LMTeam)team.Copy("newName"); Assert.AreNotEqual(team.ID, copy.ID); for (int i = 0; i < team.List.Count; i++) { Assert.AreNotEqual(team.List [i].ID, copy.List [i].ID); } Assert.AreEqual("newName", copy.Name); Assert.AreNotEqual(team.Name, copy.Name); }