Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/DesignWaterLevelLocationsViewInfoTest.cs =================================================================== diff -u -r28cd7ff42aaa05cbb9a989570793d7874a8e41ea -r425a50160d826226ef47b6c4de8b56811c1984a7 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/DesignWaterLevelLocationsViewInfoTest.cs (.../DesignWaterLevelLocationsViewInfoTest.cs) (revision 28cd7ff42aaa05cbb9a989570793d7874a8e41ea) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/DesignWaterLevelLocationsViewInfoTest.cs (.../DesignWaterLevelLocationsViewInfoTest.cs) (revision 425a50160d826226ef47b6c4de8b56811c1984a7) @@ -217,7 +217,6 @@ { // Setup Func getNormFunc = () => 0.01; - const string categoryBoundaryName = "Category"; var hydraulicBoundaryLocations = new ObservableList(); var hydraulicBoundaryLocationsLookup = new Dictionary @@ -240,20 +239,18 @@ new ObservableTestAssessmentSectionStub(), getNormFunc, getCalculationFunc, - categoryBoundaryName); + "Category"); var mockRepository = new MockRepository(); var guiService = mockRepository.StrictMock(); double actualNormValue = double.NaN; Func actualGetCalculationFuncValue = null; - var actualCategoryBoundaryNameValue = ""; guiService.Expect(ch => ch.CalculateDesignWaterLevels(null, null, null, null, int.MinValue, null)).IgnoreArguments().WhenCalled( invocation => { actualGetCalculationFuncValue = (Func) invocation.Arguments[3]; actualNormValue = (double) invocation.Arguments[4]; - actualCategoryBoundaryNameValue = (string) invocation.Arguments[5]; }); mockRepository.ReplayAll(); @@ -283,7 +280,6 @@ Assert.AreEqual(getNormFunc(), actualNormValue); Assert.AreSame(getCalculationFunc, actualGetCalculationFuncValue); - Assert.AreEqual(categoryBoundaryName, actualCategoryBoundaryNameValue); } }