Index: Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/TreeNodeInfos/PipingCalculationScenarioContextTreeNodeInfoTest.cs =================================================================== diff -u -r9395ef9c44963521a3d8a81cda0a040e7d08c589 -r255c3784c93b4c7a3ecd9d5b5bcdec9aa1ae4f7b --- Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/TreeNodeInfos/PipingCalculationScenarioContextTreeNodeInfoTest.cs (.../PipingCalculationScenarioContextTreeNodeInfoTest.cs) (revision 9395ef9c44963521a3d8a81cda0a040e7d08c589) +++ Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/TreeNodeInfos/PipingCalculationScenarioContextTreeNodeInfoTest.cs (.../PipingCalculationScenarioContextTreeNodeInfoTest.cs) (revision 255c3784c93b4c7a3ecd9d5b5bcdec9aa1ae4f7b) @@ -40,7 +40,6 @@ using Ringtoets.Common.Data; using Ringtoets.Common.Data.AssessmentSection; using Ringtoets.Common.Data.Calculation; -using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.Common.Data.TestUtil; using Ringtoets.Common.Service.TestUtil; using Ringtoets.Piping.Data; @@ -823,17 +822,13 @@ using (var treeViewControl = new TreeViewControl()) { var calculation = new PipingCalculationScenario(new GeneralPipingInput()); - var pipingFailureMechanism = new TestPipingFailureMechanism(); - pipingFailureMechanism.AddSection(new FailureMechanismSection("A", new[] - { - new Point2D(0, 0) - })); + var failureMechanism = new TestPipingFailureMechanism(); var assessmentSection = new AssessmentSectionStub(); var pipingCalculationContext = new PipingCalculationScenarioContext(calculation, new CalculationGroup(), Enumerable.Empty(), Enumerable.Empty(), - pipingFailureMechanism, + failureMechanism, assessmentSection); var mainWindow = mocks.DynamicMock(); @@ -932,7 +927,7 @@ // Given using (var treeViewControl = new TreeViewControl()) { - var pipingFailureMechanism = new TestPipingFailureMechanism(); + var failureMechanism = new TestPipingFailureMechanism(); var assessmentSection = new AssessmentSectionStub(); var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation(); @@ -942,16 +937,12 @@ }, true); PipingCalculationScenario calculation = PipingCalculationScenarioTestFactory.CreatePipingCalculationScenarioWithValidInput(hydraulicBoundaryLocation); - pipingFailureMechanism.AddSection(new FailureMechanismSection("A", new[] - { - new Point2D(0, 0) - })); var pipingCalculationContext = new PipingCalculationScenarioContext(calculation, new CalculationGroup(), Enumerable.Empty(), Enumerable.Empty(), - pipingFailureMechanism, + failureMechanism, assessmentSection); var mainWindow = mocks.DynamicMock();