Index: Ringtoets/Common/test/Ringtoets.Common.Service.Test/DesignWaterLevelCalculationServiceTest.cs =================================================================== diff -u -r8d2c93e2bc5f1993b9e8e9037f015e7d366ec636 -r87b3dec8abf9077375a10deb16d508d9cc2711e4 --- Ringtoets/Common/test/Ringtoets.Common.Service.Test/DesignWaterLevelCalculationServiceTest.cs (.../DesignWaterLevelCalculationServiceTest.cs) (revision 8d2c93e2bc5f1993b9e8e9037f015e7d366ec636) +++ Ringtoets/Common/test/Ringtoets.Common.Service.Test/DesignWaterLevelCalculationServiceTest.cs (.../DesignWaterLevelCalculationServiceTest.cs) (revision 87b3dec8abf9077375a10deb16d508d9cc2711e4) @@ -150,16 +150,12 @@ { // Setup string validFilePath = Path.Combine(testDataPath, validFile); - - const string locationName = "punt_flw_ 1"; - const string ringId = "ringId"; - const double norm = 30; - + var mockRepository = new MockRepository(); var calculationMessageProviderMock = mockRepository.Stub(); mockRepository.ReplayAll(); - var hydraulicBoundaryLocation = new HydraulicBoundaryLocation(1300001, locationName, 0, 0) + var hydraulicBoundaryLocation = new HydraulicBoundaryLocation(1300001, "punt_flw_ 1", 0, 0) { DesignWaterLevel = new RoundedDouble(2, double.NaN) }; @@ -175,8 +171,8 @@ // Call service.Calculate(hydraulicBoundaryLocation, validFilePath, - ringId, - norm, + "ringId", + 30, calculationMessageProviderMock); // Assert @@ -194,8 +190,6 @@ const string locationName = "punt_flw_ 1"; const string calculationName = "locationName"; const string calculationFailedMessage = "calculationFailedMessage"; - const string ringId = "ringId"; - const double norm = 30; var mockRepository = new MockRepository(); var calculationMessageProviderMock = mockRepository.StrictMock(); @@ -222,8 +216,8 @@ { new DesignWaterLevelCalculationService().Calculate(hydraulicBoundaryLocation, validFilePath, - ringId, - norm, + "ringId", + 30, calculationMessageProviderMock); } catch (HydraRingFileParserException)