Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/TreeNodeInfos/HeightStructureTreeNodeInfoTest.cs =================================================================== diff -u -rfada97a57c5c19983ffe23b02944dc48d02c509c -r20e9bfea15dfe132ee137283a9f24bc4c413ce4a --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/TreeNodeInfos/HeightStructureTreeNodeInfoTest.cs (.../HeightStructureTreeNodeInfoTest.cs) (revision fada97a57c5c19983ffe23b02944dc48d02c509c) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/TreeNodeInfos/HeightStructureTreeNodeInfoTest.cs (.../HeightStructureTreeNodeInfoTest.cs) (revision 20e9bfea15dfe132ee137283a9f24bc4c413ce4a) @@ -125,7 +125,7 @@ var failureMechanism = new HeightStructuresFailureMechanism(); - var parentData = new HeightStructuresContext(failureMechanism.HeightStructuresCollection, + var parentData = new HeightStructuresContext(failureMechanism.HeightStructures, failureMechanism, assessmentSection); // Call @@ -202,7 +202,7 @@ } }; - failureMechanism.HeightStructuresCollection.AddRange(new[] + failureMechanism.HeightStructures.AddRange(new[] { nodeData, otherProfile1, @@ -219,18 +219,18 @@ new Point2D(4, 0), new Point2D(9, 0) })); - failureMechanism.HeightStructuresCollection.Attach(observer); + failureMechanism.HeightStructures.Attach(observer); failureMechanism.SectionResults.ElementAt(0).Calculation = calculation1; failureMechanism.SectionResults.ElementAt(1).Calculation = calculation3; - var parentData = new HeightStructuresContext(failureMechanism.HeightStructuresCollection, + var parentData = new HeightStructuresContext(failureMechanism.HeightStructures, failureMechanism, assessmentSection); // Call info.OnNodeRemoved(nodeData, parentData); // Assert - CollectionAssert.DoesNotContain(failureMechanism.HeightStructuresCollection, nodeData); + CollectionAssert.DoesNotContain(failureMechanism.HeightStructures, nodeData); Assert.IsNull(calculation1.InputParameters.Structure); Assert.IsNotNull(calculation2.InputParameters.Structure);