Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/WaveHeightLocationsViewTest.cs =================================================================== diff -u -rc1e4cfd0fea0d560528c8d60935ce50a7243cf25 -rdd403402744c68406685f2838f6f41e23eada5f2 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/WaveHeightLocationsViewTest.cs (.../WaveHeightLocationsViewTest.cs) (revision c1e4cfd0fea0d560528c8d60935ce50a7243cf25) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/WaveHeightLocationsViewTest.cs (.../WaveHeightLocationsViewTest.cs) (revision dd403402744c68406685f2838f6f41e23eada5f2) @@ -286,9 +286,7 @@ } [Test] - [TestCase(true)] - [TestCase(false)] - public void CalculateForSelectedButton_OneSelected_CallsCalculateWaveHeights(bool isSuccessful) + public void CalculateForSelectedButton_OneSelected_CallsCalculateWaveHeights() { // Setup var testHydraulicBoundaryDatabase = new TestHydraulicBoundaryDatabase(); @@ -302,7 +300,7 @@ IEnumerable locations = null; guiService.Expect(ch => ch.CalculateWaveHeights(null, null, null, 1, null)).IgnoreArguments().WhenCalled( - invocation => { locations = (IEnumerable) invocation.Arguments[2]; }).Return(isSuccessful); + invocation => { locations = (IEnumerable) invocation.Arguments[2]; }); mockRepository.ReplayAll(); view.CalculationGuiService = guiService; @@ -371,7 +369,7 @@ calculatedLocationsValue = ((IEnumerable) invocation.Arguments[2]).ToArray(); normValue = (double) invocation.Arguments[3]; messageProviderValue = (ICalculationMessageProvider) invocation.Arguments[4]; - }).Return(true); + }); mockRepository.ReplayAll(); @@ -433,7 +431,7 @@ calculatedLocationsValue = ((IEnumerable) invocation.Arguments[2]).ToArray(); normValue = (double) invocation.Arguments[3]; messageProviderValue = (ICalculationMessageProvider) invocation.Arguments[4]; - }).Return(true); + }); mockRepository.ReplayAll(); @@ -494,7 +492,7 @@ calculatedLocationsValue = ((IEnumerable) invocation.Arguments[2]).ToArray(); normValue = (double) invocation.Arguments[3]; messageProviderValue = (ICalculationMessageProvider) invocation.Arguments[4]; - }).Return(true); + }); mockRepository.ReplayAll();