Index: Ringtoets/Common/test/Ringtoets.Common.Service.Test/DesignWaterLevelCalculationActivityTest.cs =================================================================== diff -u -rc47bddc1adf062d156e6b8b05037d9a84ba6668f -rfd44bf0bf46f1780d0ff56bec305c673bd306b70 --- Ringtoets/Common/test/Ringtoets.Common.Service.Test/DesignWaterLevelCalculationActivityTest.cs (.../DesignWaterLevelCalculationActivityTest.cs) (revision c47bddc1adf062d156e6b8b05037d9a84ba6668f) +++ Ringtoets/Common/test/Ringtoets.Common.Service.Test/DesignWaterLevelCalculationActivityTest.cs (.../DesignWaterLevelCalculationActivityTest.cs) (revision fd44bf0bf46f1780d0ff56bec305c673bd306b70) @@ -100,7 +100,7 @@ } [Test] - public void Constructor_CalculationServiceMessageProviderNull_ThrowsArgumentNullException() + public void Constructor_MessageProviderNull_ThrowsArgumentNullException() { // Call TestDelegate call = () => new DesignWaterLevelCalculationActivity(new HydraulicBoundaryLocationCalculation(new TestHydraulicBoundaryLocation()), @@ -327,14 +327,14 @@ { // Setup const string locationName = "locationName"; + const string failureMessage = "Failed calculation"; var calculator = new TestDesignWaterLevelCalculator { EndInFailure = endInFailure, LastErrorFileContent = lastErrorFileContent }; - const string failureMessage = "Failed calculation"; var calculatorFactory = mockRepository.StrictMock(); calculatorFactory.Expect(cf => cf.CreateDesignWaterLevelCalculator(testDataPath, validPreprocessorDirectory)).Return(calculator); var calculationMessageProvider = mockRepository.Stub();