Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Views/GrassCoverErosionOutwardsDesignWaterLevelLocationsViewTest.cs =================================================================== diff -u -re43d571b52bd9042ff84887724f3213b11b0af06 -r84daf5b7656714effda2e1a4d2d4415fd535c185 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Views/GrassCoverErosionOutwardsDesignWaterLevelLocationsViewTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelLocationsViewTest.cs) (revision e43d571b52bd9042ff84887724f3213b11b0af06) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Views/GrassCoverErosionOutwardsDesignWaterLevelLocationsViewTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelLocationsViewTest.cs) (revision 84daf5b7656714effda2e1a4d2d4415fd535c185) @@ -85,6 +85,7 @@ // Call using (var view = new GrassCoverErosionOutwardsDesignWaterLevelLocationsView(new GrassCoverErosionOutwardsFailureMechanism(), + hbl => new HydraulicBoundaryLocationCalculation(), assessmentSection, () => 0.01)) { @@ -102,7 +103,10 @@ mockRepository.ReplayAll(); // Call - TestDelegate call = () => new GrassCoverErosionOutwardsDesignWaterLevelLocationsView(null, assessmentSection, () => 0.01); + TestDelegate call = () => new GrassCoverErosionOutwardsDesignWaterLevelLocationsView(null, + hbl => new HydraulicBoundaryLocationCalculation(), + assessmentSection, + () => 0.01); // Assert var exception = Assert.Throws(call); @@ -118,6 +122,7 @@ // Call TestDelegate call = () => new GrassCoverErosionOutwardsDesignWaterLevelLocationsView(new GrassCoverErosionOutwardsFailureMechanism(), + hbl => new HydraulicBoundaryLocationCalculation(), assessmentSection, null); @@ -652,7 +657,10 @@ }; failureMechanism.HydraulicBoundaryLocations.AddRange(locations); - var view = new GrassCoverErosionOutwardsDesignWaterLevelLocationsView(failureMechanism, assessmentSection, () => norm); + var view = new GrassCoverErosionOutwardsDesignWaterLevelLocationsView(failureMechanism, + hbl => new HydraulicBoundaryLocationCalculation(), + assessmentSection, + () => norm); form.Controls.Add(view); form.Show();