Index: Riskeer/Revetment/test/Riskeer.Revetment.Data.Test/WaveConditionsInputHelperTest.cs =================================================================== diff -u -r111df70947316d3b2d23b4287228064a05933d40 -r28fd50dfc03bd268b49163fd9c93cd971c248e7b --- Riskeer/Revetment/test/Riskeer.Revetment.Data.Test/WaveConditionsInputHelperTest.cs (.../WaveConditionsInputHelperTest.cs) (revision 111df70947316d3b2d23b4287228064a05933d40) +++ Riskeer/Revetment/test/Riskeer.Revetment.Data.Test/WaveConditionsInputHelperTest.cs (.../WaveConditionsInputHelperTest.cs) (revision 28fd50dfc03bd268b49163fd9c93cd971c248e7b) @@ -54,7 +54,7 @@ } [Test] - public void SetWaterLevelType_AssessmentSectionCategoryWaveConditionsInputNull_ThrowsArgumentNullException() + public void SetWaterLevelType_WaveConditionsInputNull_ThrowsArgumentNullException() { // Setup var random = new Random(21); @@ -68,7 +68,7 @@ } [Test] - public void SetWaterLevelType_WithAssessmentSectionCategoryWaveConditionsInputAndInvalidNormType_ThrowsInvalidEnumArgumentException() + public void SetWaterLevelType_InvalidNormType_ThrowsInvalidEnumArgumentException() { // Setup const NormType normType = (NormType) 99; @@ -100,36 +100,6 @@ } [Test] - public void SetWaterLevelType_FailureMechanismCategoryWaveConditionsInputNull_ThrowsArgumentNullException() - { - // Setup - var random = new Random(21); - - // Call - void Call() => WaveConditionsInputHelper.SetWaterLevelType(null, - random.NextEnumValue()); - - // Assert - var exception = Assert.Throws(Call); - Assert.AreEqual("waveConditionsInput", exception.ParamName); - } - - [Test] - public void SetWaterLevelType_WithFailureMechanismCategoryWaveConditionsInputAndInvalidNormType_ThrowsInvalidEnumArgumentException() - { - // Setup - const NormType normType = (NormType) 99; - - // Call - void Call() => WaveConditionsInputHelper.SetWaterLevelType(new FailureMechanismCategoryWaveConditionsInput(), normType); - - // Assert - var expectedMessage = $"The value of argument 'normType' ({normType}) is invalid for Enum type '{nameof(NormType)}'."; - var exception = TestHelper.AssertThrowsArgumentExceptionAndTestMessage(Call, expectedMessage); - Assert.AreEqual("normType", exception.ParamName); - } - - [Test] [TestCase(NormType.LowerLimit, WaveConditionsInputWaterLevelType.LowerLimit)] [TestCase(NormType.Signaling, WaveConditionsInputWaterLevelType.Signaling)] public void SetWaterLevelType_WithFailureMechanismCategoryWaveConditionsInputAndVariousNormTypes_SetsWaterLevelType(