Index: Ringtoets/Common/test/Ringtoets.Common.Service.TestUtil.Test/TestWaveHeightCalculationServiceTest.cs =================================================================== diff -u -r1e533850c7711172462df1e8f569b9f3ff950045 -ra97c4ffe5254af061462539883d25722be13e539 --- Ringtoets/Common/test/Ringtoets.Common.Service.TestUtil.Test/TestWaveHeightCalculationServiceTest.cs (.../TestWaveHeightCalculationServiceTest.cs) (revision 1e533850c7711172462df1e8f569b9f3ff950045) +++ Ringtoets/Common/test/Ringtoets.Common.Service.TestUtil.Test/TestWaveHeightCalculationServiceTest.cs (.../TestWaveHeightCalculationServiceTest.cs) (revision a97c4ffe5254af061462539883d25722be13e539) @@ -57,10 +57,11 @@ const double norm = 12.34; // Call - ReliabilityIndexCalculationOutput output = service.Calculate(calculationMessageProviderMock, - hydraulicBoundaryLocationMock, + ReliabilityIndexCalculationOutput output = service.Calculate(hydraulicBoundaryLocationMock, string.Empty, - string.Empty, norm); + string.Empty, + norm, + calculationMessageProviderMock); // Assert var expectedOutput = new ReliabilityIndexCalculationOutput(norm, StatisticsConverter.NormToBeta(norm)); @@ -79,15 +80,16 @@ mockRepository.ReplayAll(); var service = new TestWaveHeightCalculationService { - SetCalculationConvergenceOutput = CalculationConvergence.CalculatedConverged + CalculationConvergenceOutput = CalculationConvergence.CalculatedConverged }; const double norm = 12.34; // Call - ReliabilityIndexCalculationOutput output = service.Calculate(calculationMessageProviderMock, - hydraulicBoundaryLocationMock, + ReliabilityIndexCalculationOutput output = service.Calculate(hydraulicBoundaryLocationMock, string.Empty, - string.Empty, norm); + string.Empty, + norm, + calculationMessageProviderMock); // Assert Assert.AreSame(calculationMessageProviderMock, service.MessageProvider); @@ -107,15 +109,16 @@ mockRepository.ReplayAll(); var service = new TestWaveHeightCalculationService { - SetCalculationConvergenceOutput = CalculationConvergence.NotCalculated + CalculationConvergenceOutput = CalculationConvergence.NotCalculated }; const double norm = 12.34; // Call - ReliabilityIndexCalculationOutput output = service.Calculate(calculationMessageProviderMock, - hydraulicBoundaryLocationMock, + ReliabilityIndexCalculationOutput output = service.Calculate(hydraulicBoundaryLocationMock, string.Empty, - string.Empty, norm); + string.Empty, + norm, + calculationMessageProviderMock); // Assert Assert.AreSame(calculationMessageProviderMock, service.MessageProvider); @@ -134,15 +137,16 @@ mockRepository.ReplayAll(); var service = new TestWaveHeightCalculationService { - SetCalculationConvergenceOutput = CalculationConvergence.CalculatedNotConverged + CalculationConvergenceOutput = CalculationConvergence.CalculatedNotConverged }; const double norm = 12.34; // Call - ReliabilityIndexCalculationOutput output = service.Calculate(calculationMessageProviderMock, - hydraulicBoundaryLocationMock, + ReliabilityIndexCalculationOutput output = service.Calculate(hydraulicBoundaryLocationMock, string.Empty, - string.Empty, norm); + string.Empty, + norm, + calculationMessageProviderMock); // Assert Assert.AreSame(calculationMessageProviderMock, service.MessageProvider);