Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveHeightLocationsContextTreeNodeInfoTest.cs =================================================================== diff -u -r5e277dcad3ff1c784146f964852c0f7371565ba1 -r736f04ea6f24399148ab8efd7f3b03ae8f8f56b5 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveHeightLocationsContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsContextTreeNodeInfoTest.cs) (revision 5e277dcad3ff1c784146f964852c0f7371565ba1) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveHeightLocationsContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsContextTreeNodeInfoTest.cs) (revision 736f04ea6f24399148ab8efd7f3b03ae8f8f56b5) @@ -388,12 +388,12 @@ gui.Stub(cmp => cmp.Get(context, treeViewControl)).Return(new CustomItemsOnlyContextMenuBuilder()); gui.Stub(g => g.MainWindow).Return(mockRepository.Stub()); - var testWaveHeightCalculator = new TestWaveHeightCalculator + var waveHeightCalculator = new TestWaveHeightCalculator { EndInFailure = true }; var calculatorFactory = mockRepository.Stub(); - calculatorFactory.Stub(cf => cf.CreateWaveHeightCalculator(testDataPath)).Return(testWaveHeightCalculator); + calculatorFactory.Stub(cf => cf.CreateWaveHeightCalculator(testDataPath)).Return(waveHeightCalculator); mockRepository.ReplayAll(); plugin.Gui = gui; @@ -441,9 +441,9 @@ gui.Stub(cmp => cmp.Get(context, treeViewControl)).Return(new CustomItemsOnlyContextMenuBuilder()); gui.Stub(g => g.MainWindow).Return(mockRepository.Stub()); - var testWaveHeightCalculator = new TestWaveHeightCalculator(); + var waveHeightCalculator = new TestWaveHeightCalculator(); var calculatorFactory = mockRepository.Stub(); - calculatorFactory.Stub(cf => cf.CreateWaveHeightCalculator(testDataPath)).Return(testWaveHeightCalculator); + calculatorFactory.Stub(cf => cf.CreateWaveHeightCalculator(testDataPath)).Return(waveHeightCalculator); mockRepository.ReplayAll(); using (var plugin = new GrassCoverErosionOutwardsPlugin()) @@ -459,7 +459,7 @@ contextMenuAdapter.Items[contextMenuRunWaveHeightCalculationsIndex].PerformClick(); // Assert - WaveHeightCalculationInput waveHeightCalculationInput = testWaveHeightCalculator.ReceivedInputs.First(); + WaveHeightCalculationInput waveHeightCalculationInput = waveHeightCalculator.ReceivedInputs.First(); Assert.AreEqual(grassCoverErosionOutwardsHydraulicBoundaryLocation.Id, waveHeightCalculationInput.HydraulicBoundaryLocationId); double expectedProbability = assessmentSection.FailureMechanismContribution.Norm