Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresCalculationActivityTest.cs =================================================================== diff -u -re568165b751acf8d72cdf0d128f76d7792dadb56 -r0a51f20ac93373a43f79bb4c6327bce1d46545c6 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresCalculationActivityTest.cs (.../HeightStructuresCalculationActivityTest.cs) (revision e568165b751acf8d72cdf0d128f76d7792dadb56) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresCalculationActivityTest.cs (.../HeightStructuresCalculationActivityTest.cs) (revision 0a51f20ac93373a43f79bb4c6327bce1d46545c6) @@ -19,10 +19,7 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System; -using System.Linq; using Core.Common.Base.Service; -using Core.Common.TestUtil; using NUnit.Framework; using Rhino.Mocks; using Ringtoets.Common.Data.AssessmentSection; @@ -55,34 +52,5 @@ mocks.VerifyAll(); } - - [Test] - public void Run_InvalidHeightStructuresCalculation_LogValidationStartAndEndWithError() - { - // Setup - var mocks = new MockRepository(); - var assessmentSectionMock = mocks.StrictMock(); - mocks.ReplayAll(); - - var failureMechanism = new HeightStructuresFailureMechanism(); - var calculation = new HeightStructuresCalculation(); - - var activity = new HeightStructuresCalculationActivity(calculation, "", failureMechanism, assessmentSectionMock); - - // Call - Action call = () => activity.Run(); - - // Assert - TestHelper.AssertLogMessages(call, messages => - { - var msgs = messages.ToArray(); - Assert.AreEqual(3, msgs.Length); - StringAssert.StartsWith(String.Format("Validatie van '{0}' gestart om: ", calculation.Name), msgs[0]); - StringAssert.StartsWith("Validatie mislukt: ", msgs[1]); - StringAssert.StartsWith(String.Format("Validatie van '{0}' beƫindigd om: ", calculation.Name), msgs[2]); - }); - Assert.AreEqual(ActivityState.Failed, activity.State); - mocks.VerifyAll(); - } } } \ No newline at end of file