Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/DesignWaterLevelLocationsViewInfoTest.cs =================================================================== diff -u -rbc3e9533de8e4e270211af3ef1821373fe907569 -r5a54a4db63685bd36cc9b979d2358c32a8a0f405 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/DesignWaterLevelLocationsViewInfoTest.cs (.../DesignWaterLevelLocationsViewInfoTest.cs) (revision bc3e9533de8e4e270211af3ef1821373fe907569) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/DesignWaterLevelLocationsViewInfoTest.cs (.../DesignWaterLevelLocationsViewInfoTest.cs) (revision 5a54a4db63685bd36cc9b979d2358c32a8a0f405) @@ -120,6 +120,7 @@ ObservableList locations = assessmentSection.HydraulicBoundaryDatabase.Locations; var context = new DesignWaterLevelLocationsContext(locations, assessmentSection, + () => 0.01, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); @@ -159,6 +160,7 @@ var context = new DesignWaterLevelLocationsContext(hydraulicBoundaryLocations, assessmentSection, + () => 0.01, hbl => hydraulicBoundaryLocationsLookup[hbl], "Category"); @@ -200,17 +202,20 @@ gui.Stub(g => g.DocumentViewController).Return(mocks.Stub()); mocks.ReplayAll(); + Func getNormFunc = () => 0.01; var assessmentSection = new ObservableTestAssessmentSectionStub(); var locations = new ObservableList(); + var context = new DesignWaterLevelLocationsContext(locations, assessmentSection, + getNormFunc, hbl => new HydraulicBoundaryLocationCalculation(), "Category"); using (var view = new DesignWaterLevelLocationsView(locations, hbl => new HydraulicBoundaryLocationCalculation(), new ObservableTestAssessmentSectionStub(), - () => 0.01)) + getNormFunc)) using (var ringtoetsPlugin = new RingtoetsPlugin()) { info = ringtoetsPlugin.GetViewInfos().First(tni => tni.ViewType == typeof(DesignWaterLevelLocationsView));