Index: Ringtoets/Common/test/Ringtoets.Common.Data.Test/AssessmentSection/AssessmentSectionExtensionsTest.cs =================================================================== diff -u -r0eddea1a45f0d9efb0a2a12e90eb99e814d1becb -r346957cc101c65f06201d346eff71d3454aa7e31 --- Ringtoets/Common/test/Ringtoets.Common.Data.Test/AssessmentSection/AssessmentSectionExtensionsTest.cs (.../AssessmentSectionExtensionsTest.cs) (revision 0eddea1a45f0d9efb0a2a12e90eb99e814d1becb) +++ Ringtoets/Common/test/Ringtoets.Common.Data.Test/AssessmentSection/AssessmentSectionExtensionsTest.cs (.../AssessmentSectionExtensionsTest.cs) (revision 346957cc101c65f06201d346eff71d3454aa7e31) @@ -21,7 +21,6 @@ using System; using System.Collections; -using System.Collections.Generic; using System.ComponentModel; using System.Linq; using Core.Common.Base.Data; @@ -298,7 +297,7 @@ [TestCaseSource( typeof(AssessmentSectionHelper), nameof(AssessmentSectionHelper.GetHydraulicBoundaryLocationCalculationConfigurationPerAssessmentSectionCategoryType))] - public void GetHydraulicBoundaryLocationCalculation_HydraulicBoundaryLocationWithOutput_ReturnsCorrespondingAssessmentLevel( + public void GetHydraulicBoundaryLocationCalculation_HydraulicBoundaryLocationWithOutput_ReturnsCorrespondingHydraulicBoundaryLocationCalculation( IAssessmentSection assessmentSection, HydraulicBoundaryLocation hydraulicBoundaryLocation, AssessmentSectionCategoryType categoryType, @@ -418,44 +417,5 @@ lowerLimitNorm * 30 ).SetName("FactorizedLowerLimitNorm"); } - - private static IEnumerable GetHydraulicBoundaryLocationCalculationConfigurationPerAssessmentSectionCategoryType() - { - var assessmentSection = new AssessmentSectionStub(); - var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation(); - - assessmentSection.SetHydraulicBoundaryLocationCalculations(new[] - { - hydraulicBoundaryLocation - }, true); - - yield return new TestCaseData( - assessmentSection, - hydraulicBoundaryLocation, - AssessmentSectionCategoryType.FactorizedSignalingNorm, - assessmentSection.WaterLevelCalculationsForFactorizedSignalingNorm.ElementAt(0) - ).SetName("FactorizedSignalingNorm"); - - yield return new TestCaseData( - assessmentSection, - hydraulicBoundaryLocation, - AssessmentSectionCategoryType.SignalingNorm, - assessmentSection.WaterLevelCalculationsForSignalingNorm.ElementAt(0) - ).SetName("SignalingNorm"); - - yield return new TestCaseData( - assessmentSection, - hydraulicBoundaryLocation, - AssessmentSectionCategoryType.LowerLimitNorm, - assessmentSection.WaterLevelCalculationsForLowerLimitNorm.ElementAt(0) - ).SetName("LowerLimitNorm"); - - yield return new TestCaseData( - assessmentSection, - hydraulicBoundaryLocation, - AssessmentSectionCategoryType.FactorizedLowerLimitNorm, - assessmentSection.WaterLevelCalculationsForFactorizedLowerLimitNorm.ElementAt(0) - ).SetName("FactorizedLowerLimitNorm"); - } } } \ No newline at end of file