Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/DesignWaterLevelLocationsViewInfoTest.cs =================================================================== diff -u -r2b2b747a35d38d092eca298599e82ce88ee6e2d3 -rcaebe0a4ed7807b5ef15ba294518529341c05900 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/DesignWaterLevelLocationsViewInfoTest.cs (.../DesignWaterLevelLocationsViewInfoTest.cs) (revision 2b2b747a35d38d092eca298599e82ce88ee6e2d3) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/DesignWaterLevelLocationsViewInfoTest.cs (.../DesignWaterLevelLocationsViewInfoTest.cs) (revision caebe0a4ed7807b5ef15ba294518529341c05900) @@ -65,7 +65,10 @@ public void GetViewName_Always_ReturnsViewName() { // Setup - using (var view = new DesignWaterLevelLocationsView(new ObservableList(), new ObservableTestAssessmentSectionStub(), () => 0.01)) + using (var view = new DesignWaterLevelLocationsView(new ObservableList(), + hbl => new HydraulicBoundaryLocationCalculation(), + new ObservableTestAssessmentSectionStub(), + () => 0.01)) { // Call string viewName = info.GetViewName(view, Enumerable.Empty()); @@ -158,7 +161,10 @@ var context = new DesignWaterLevelLocationsContext(new ObservableList(), assessmentSection); - using (var view = new DesignWaterLevelLocationsView(new ObservableList(), new ObservableTestAssessmentSectionStub(), () => 0.01)) + using (var view = new DesignWaterLevelLocationsView(new ObservableList(), + hbl => new HydraulicBoundaryLocationCalculation(), + new ObservableTestAssessmentSectionStub(), + () => 0.01)) using (var ringtoetsPlugin = new RingtoetsPlugin()) { info = ringtoetsPlugin.GetViewInfos().First(tni => tni.ViewType == typeof(DesignWaterLevelLocationsView)); @@ -181,7 +187,10 @@ // Setup var assessmentSection = new ObservableTestAssessmentSectionStub(); - using (var view = new DesignWaterLevelLocationsView(new ObservableList(), assessmentSection, () => 0.01)) + using (var view = new DesignWaterLevelLocationsView(new ObservableList(), + hbl => new HydraulicBoundaryLocationCalculation(), + assessmentSection, + () => 0.01)) { // Call bool closeForData = info.CloseForData(view, assessmentSection); @@ -198,7 +207,10 @@ var assessmentSectionA = new ObservableTestAssessmentSectionStub(); var assessmentSectionB = new ObservableTestAssessmentSectionStub(); - using (var view = new DesignWaterLevelLocationsView(new ObservableList(), assessmentSectionA, () => 0.01)) + using (var view = new DesignWaterLevelLocationsView(new ObservableList(), + hbl => new HydraulicBoundaryLocationCalculation(), + assessmentSectionA, + () => 0.01)) { // Call bool closeForData = info.CloseForData(view, assessmentSectionB); @@ -214,7 +226,10 @@ // Setup var assessmentSectionA = new ObservableTestAssessmentSectionStub(); - using (var view = new DesignWaterLevelLocationsView(new ObservableList(), assessmentSectionA, () => 0.01)) + using (var view = new DesignWaterLevelLocationsView(new ObservableList(), + hbl => new HydraulicBoundaryLocationCalculation(), + assessmentSectionA, + () => 0.01)) { // Call bool closeForData = info.CloseForData(view, new object());