Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Views/GrassCoverErosionOutwardsDesignWaterLevelLocationsViewTest.cs =================================================================== diff -u -r5826b97a9ae0135d6b9a272605243bfc0ef33995 -rf58cf77bdfb9cc2f44fb0ed4e7fbb3c23d4e7d8b --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Views/GrassCoverErosionOutwardsDesignWaterLevelLocationsViewTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelLocationsViewTest.cs) (revision 5826b97a9ae0135d6b9a272605243bfc0ef33995) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Views/GrassCoverErosionOutwardsDesignWaterLevelLocationsViewTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelLocationsViewTest.cs) (revision f58cf77bdfb9cc2f44fb0ed4e7fbb3c23d4e7d8b) @@ -425,13 +425,12 @@ assessmentSection.HydraulicBoundaryDatabase.FilePath = databaseFilePath; GrassCoverErosionOutwardsDesignWaterLevelLocationsView view = ShowFullyConfiguredDesignWaterLevelLocationsView(assessmentSection, testForm); - ObservableList locations = view.FailureMechanism.HydraulicBoundaryLocations; + GrassCoverErosionOutwardsFailureMechanism failureMechanism = view.FailureMechanism; + ObservableList locations = failureMechanism.HydraulicBoundaryLocations; DataGridView locationsDataGridView = GetLocationsDataGridView(); DataGridViewRowCollection rows = locationsDataGridView.Rows; rows[0].Cells[locationCalculateColumnIndex].Value = true; - GrassCoverErosionOutwardsFailureMechanism failureMechanism = view.FailureMechanism; - view.CalculationGuiService = guiService; var button = new ButtonTester("CalculateForSelectedButton", testForm); @@ -498,11 +497,7 @@ rows[0].Cells[locationCalculateColumnIndex].Value = true; view.CalculationGuiService = guiService; - GrassCoverErosionOutwardsFailureMechanism failureMechanism = view.FailureMechanism; - failureMechanism.Contribution = 10; - failureMechanism.NotifyObservers(); - var button = new ButtonTester("CalculateForSelectedButton", testForm); // Call @@ -566,11 +561,8 @@ DataGridViewRowCollection rows = locationsDataGridView.Rows; rows[0].Cells[locationCalculateColumnIndex].Value = true; - GrassCoverErosionOutwardsFailureMechanism failureMechanism = view.FailureMechanism; - failureMechanism.Contribution = 10; - failureMechanism.NotifyObservers(); - view.CalculationGuiService = guiService; + GrassCoverErosionOutwardsFailureMechanism failureMechanism = view.FailureMechanism; var button = new ButtonTester("CalculateForSelectedButton", testForm); // Call