Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresDataSynchronizationServiceTest.cs =================================================================== diff -u -red4b032b9903f394deb9691c2c39a9f2122ab0f5 -r20e9bfea15dfe132ee137283a9f24bc4c413ce4a --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresDataSynchronizationServiceTest.cs (.../HeightStructuresDataSynchronizationServiceTest.cs) (revision ed4b032b9903f394deb9691c2c39a9f2122ab0f5) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresDataSynchronizationServiceTest.cs (.../HeightStructuresDataSynchronizationServiceTest.cs) (revision 20e9bfea15dfe132ee137283a9f24bc4c413ce4a) @@ -282,7 +282,7 @@ .Concat(failureMechanism.SectionResults) .Concat(failureMechanism.CalculationsGroup.GetAllChildrenRecursive()) .Concat(failureMechanism.ForeshoreProfiles) - .Concat(failureMechanism.HeightStructuresCollection) + .Concat(failureMechanism.HeightStructures) .ToArray(); // Call @@ -295,14 +295,14 @@ CollectionAssert.IsEmpty(failureMechanism.SectionResults); CollectionAssert.IsEmpty(failureMechanism.CalculationsGroup.Children); CollectionAssert.IsEmpty(failureMechanism.ForeshoreProfiles); - CollectionAssert.IsEmpty(failureMechanism.HeightStructuresCollection); + CollectionAssert.IsEmpty(failureMechanism.HeightStructures); IObservable[] array = results.ChangedObjects.ToArray(); Assert.AreEqual(4, array.Length); CollectionAssert.Contains(array, failureMechanism); CollectionAssert.Contains(array, failureMechanism.CalculationsGroup); CollectionAssert.Contains(array, failureMechanism.ForeshoreProfiles); - CollectionAssert.Contains(array, failureMechanism.HeightStructuresCollection); + CollectionAssert.Contains(array, failureMechanism.HeightStructures); CollectionAssert.AreEquivalent(expectedRemovedObjects, results.RemovedObjects); } @@ -312,7 +312,7 @@ { // Setup HeightStructuresFailureMechanism failureMechanism = CreateFullyConfiguredFailureMechanism(); - HeightStructure structure = failureMechanism.HeightStructuresCollection[0]; + HeightStructure structure = failureMechanism.HeightStructures[0]; StructuresCalculation[] calculationsWithStructure = failureMechanism.Calculations .Cast>() .Where(c => ReferenceEquals(c.InputParameters.Structure, structure)) @@ -339,7 +339,7 @@ // Assert // Note: To make sure the clear is performed regardless of what is done with // the return result, no ToArray() should be called before these assertions: - CollectionAssert.DoesNotContain(failureMechanism.HeightStructuresCollection, structure); + CollectionAssert.DoesNotContain(failureMechanism.HeightStructures, structure); foreach (StructuresCalculation calculation in calculationsWithStructure) { Assert.IsNull(calculation.InputParameters.Structure); @@ -356,7 +356,7 @@ IObservable[] array = affectedObjects.ToArray(); Assert.AreEqual(1 + calculationsWithOutput.Length + calculationsWithStructure.Length + sectionResultsWithStructure.Length, array.Length); - CollectionAssert.Contains(array, failureMechanism.HeightStructuresCollection); + CollectionAssert.Contains(array, failureMechanism.HeightStructures); foreach (StructuresCalculation calculation in calculationsWithStructure) { CollectionAssert.Contains(array, calculation.InputParameters); @@ -436,7 +436,7 @@ profile }, "path"); - failureMechanism.HeightStructuresCollection.AddRange(new[] + failureMechanism.HeightStructures.AddRange(new[] { structure1, structure2