Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/HydraulicBoundaryLocationsViewTest.cs =================================================================== diff -u -rc0532d07766ecad2566f7cfa4a97a9aeb6e8540c -r4865c9f054759a07acd949f86d879fbb7998fd20 --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/HydraulicBoundaryLocationsViewTest.cs (.../HydraulicBoundaryLocationsViewTest.cs) (revision c0532d07766ecad2566f7cfa4a97a9aeb6e8540c) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/HydraulicBoundaryLocationsViewTest.cs (.../HydraulicBoundaryLocationsViewTest.cs) (revision 4865c9f054759a07acd949f86d879fbb7998fd20) @@ -63,7 +63,9 @@ public void Constructor_LocationsNull_ThrowsArgumentNullException() { // Call - TestDelegate call = () => new TestHydraulicBoundaryLocationsView(null); + TestDelegate call = () => new TestHydraulicBoundaryLocationsView(null, + hbl => new HydraulicBoundaryLocationCalculation(), + new ObservableTestAssessmentSectionStub()); // Assert var exception = Assert.Throws(call); @@ -262,7 +264,9 @@ private TestHydraulicBoundaryLocationsView ShowTestHydraulicBoundaryLocationsView(ObservableList locations) { - var view = new TestHydraulicBoundaryLocationsView(locations); + var view = new TestHydraulicBoundaryLocationsView(locations, + hbl => new HydraulicBoundaryLocationCalculation(), + new ObservableTestAssessmentSectionStub()); testForm.Controls.Add(view); testForm.Show(); @@ -307,11 +311,6 @@ private sealed class TestHydraulicBoundaryLocationsView : HydraulicBoundaryLocationsView { - public TestHydraulicBoundaryLocationsView(ObservableList locations) - : base(locations, - hbl => new HydraulicBoundaryLocationCalculation(), - new ObservableTestAssessmentSectionStub()) {} - public TestHydraulicBoundaryLocationsView(ObservableList locations, Func getCalculationFunc, IAssessmentSection assessmentSection)