public void CopyTest() { Random rand = new Random(0); TECCatalogs catalogs = ModelCreation.TestCatalogs(rand, 2); TECSubScope subScope = ModelCreation.TestSubScope(catalogs, rand); var copy = subScope.Copy(new Dictionary <Guid, Guid>()); Assert.AreEqual(subScope.Name, copy.Name); Assert.IsTrue(subScope.CostBatch.CostsEqual(copy.CostBatch)); }