Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresCalculationServiceTest.cs =================================================================== diff -u -ra8bfedc443289dd37ebd3c2304d4c4add4ef7d58 -rdc06e587d9b54b54505ebd4cf70efb9c75c94411 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresCalculationServiceTest.cs (.../HeightStructuresCalculationServiceTest.cs) (revision a8bfedc443289dd37ebd3c2304d4c4add4ef7d58) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresCalculationServiceTest.cs (.../HeightStructuresCalculationServiceTest.cs) (revision dc06e587d9b54b54505ebd4cf70efb9c75c94411) @@ -192,51 +192,6 @@ } [Test] - public void Validate_DeviationWaveDirectionInvalid_ReturnsFalse() - { - // Setup - var mockRepository = new MockRepository(); - IAssessmentSection assessmentSectionStub = AssessmentSectionHelper.CreateAssessmentSectionStub(new HeightStructuresFailureMechanism(), - mockRepository); - mockRepository.ReplayAll(); - - assessmentSectionStub.HydraulicBoundaryDatabase.FilePath = validFilePath; - - const string name = ""; - const string parameterName = "afwijking golfrichting"; - string expectedValidationMessage = string.Format("Validatie mislukt: Er is geen concreet getal ingevoerd voor '{0}'.", parameterName); - - var calculation = new TestHeightStructuresCalculation - { - Name = name, - InputParameters = - { - HydraulicBoundaryLocation = new HydraulicBoundaryLocation(1, "name", 2, 2), - Structure = new TestHeightStructure() - } - }; - - calculation.InputParameters.DeviationWaveDirection = RoundedDouble.NaN; - - // Call - bool isValid = false; - Action call = () => isValid = HeightStructuresCalculationService.Validate(calculation, assessmentSectionStub); - - // Assert - TestHelper.AssertLogMessages(call, messages => - { - var msgs = messages.ToArray(); - Assert.AreEqual(3, msgs.Length); - StringAssert.StartsWith(string.Format("Validatie van '{0}' gestart om: ", name), msgs[0]); - StringAssert.StartsWith(expectedValidationMessage, msgs[1]); - StringAssert.StartsWith(string.Format("Validatie van '{0}' beƫindigd om: ", name), msgs[2]); - }); - Assert.IsFalse(isValid); - - mockRepository.VerifyAll(); - } - - [Test] public void Validate_StructureNormalOrientationInvalid_ReturnsFalse() { // Setup