Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingCalculationScenarioContextTreeNodeInfoTest.cs =================================================================== diff -u -r23a37b025a5d0358c1f30fb31de41a2c284519a5 -rfd98bcf5d1811dbcad2cc0e292a4349f8402b83a --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingCalculationScenarioContextTreeNodeInfoTest.cs (.../PipingCalculationScenarioContextTreeNodeInfoTest.cs) (revision 23a37b025a5d0358c1f30fb31de41a2c284519a5) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingCalculationScenarioContextTreeNodeInfoTest.cs (.../PipingCalculationScenarioContextTreeNodeInfoTest.cs) (revision fd98bcf5d1811dbcad2cc0e292a4349f8402b83a) @@ -104,32 +104,8 @@ [Test] public void EnsureVisibleOnCreate_Always_ReturnsTrue() { - // Setup - var calculation = new PipingCalculationScenario(new GeneralPipingInput(), new NormProbabilityPipingInput()) - { - Output = new PipingOutput(0.0, 0.0, 0.0, 0.0, 0.0, 0.0) - }; - - var pipingFailureMechanismMock = mocks.StrictMock(); - var assessmentSectionMock = mocks.StrictMock(); - mocks.ReplayAll(); - - var pipingCalculationContext = new PipingCalculationScenarioContext(calculation, - new[] - { - new RingtoetsPipingSurfaceLine() - }, - new[] - { - new TestStochasticSoilModel() - }, - pipingFailureMechanismMock, - assessmentSectionMock); - - mocks.ReplayAll(); - // Call - var result = info.EnsureVisibleOnCreate(pipingCalculationContext); + var result = info.EnsureVisibleOnCreate(null, null); // Assert Assert.IsTrue(result);