Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/AssessmentSectionViewTest.cs =================================================================== diff -u -red456b64612970e1ef09e2a876bbb35754443d6d -ra9e3d9fb9e2f7db81d788222053309477dbd528b --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/AssessmentSectionViewTest.cs (.../AssessmentSectionViewTest.cs) (revision ed456b64612970e1ef09e2a876bbb35754443d6d) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/AssessmentSectionViewTest.cs (.../AssessmentSectionViewTest.cs) (revision a9e3d9fb9e2f7db81d788222053309477dbd528b) @@ -42,29 +42,6 @@ private const int referenceLineIndex = 0; private const int hydraulicBoundaryLocationsIndex = 1; - private static IEnumerable GetCalculationFuncs - { - get - { - yield return new TestCaseData(new Func( - assessmentSection => assessmentSection.WaterLevelCalculationsForFactorizedSignalingNorm.First())); - yield return new TestCaseData(new Func( - assessmentSection => assessmentSection.WaterLevelCalculationsForSignalingNorm.First())); - yield return new TestCaseData(new Func( - assessmentSection => assessmentSection.WaterLevelCalculationsForLowerLimitNorm.First())); - yield return new TestCaseData(new Func( - assessmentSection => assessmentSection.WaterLevelCalculationsForFactorizedLowerLimitNorm.First())); - yield return new TestCaseData(new Func( - assessmentSection => assessmentSection.WaveHeightCalculationsForFactorizedSignalingNorm.First())); - yield return new TestCaseData(new Func( - assessmentSection => assessmentSection.WaveHeightCalculationsForSignalingNorm.First())); - yield return new TestCaseData(new Func( - assessmentSection => assessmentSection.WaveHeightCalculationsForLowerLimitNorm.First())); - yield return new TestCaseData(new Func( - assessmentSection => assessmentSection.WaveHeightCalculationsForFactorizedLowerLimitNorm.First())); - } - } - [Test] public void Constructor_ExpectedValues() { @@ -147,7 +124,7 @@ } [Test] - [TestCaseSource(nameof(GetCalculationFuncs))] + [TestCaseSource(typeof(MapViewTestHelper), nameof(MapViewTestHelper.GetCalculationFuncs))] public void GivenViewWithHydraulicBoundaryLocationsData_WhenHydraulicBoundaryLocationCalculationUpdatedAndNotified_ThenMapDataUpdated( Func getCalculationFunc) {