Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/DesignWaterLevelLocationsViewTest.cs =================================================================== diff -u -rcf6cf1e068381a14a9dfdbc65ef71be45e7c25e5 -rdfce818445fc8caa5830d14adc585926a32bfb40 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/DesignWaterLevelLocationsViewTest.cs (.../DesignWaterLevelLocationsViewTest.cs) (revision cf6cf1e068381a14a9dfdbc65ef71be45e7c25e5) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/DesignWaterLevelLocationsViewTest.cs (.../DesignWaterLevelLocationsViewTest.cs) (revision dfce818445fc8caa5830d14adc585926a32bfb40) @@ -19,7 +19,6 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System; using System.Collections.Generic; using System.Globalization; using System.Linq; @@ -212,7 +211,7 @@ var guiServiceMock = mockRepository.StrictMock(); IEnumerable locations = null; - guiServiceMock.Expect(ch => ch.CalculateDesignWaterLevels(assessmentSection, null)).IgnoreArguments().WhenCalled( + guiServiceMock.Expect(ch => ch.CalculateDesignWaterLevels(null, null, null, 1)).IgnoreArguments().WhenCalled( invocation => { locations = (IEnumerable) invocation.Arguments[1]; }); mockRepository.ReplayAll(); @@ -296,6 +295,11 @@ private class TestAssessmentSection : Observable, IAssessmentSection { + public TestAssessmentSection() + { + FailureMechanismContribution = new FailureMechanismContribution(Enumerable.Empty(), 0, 300000); + } + public string Comments { get; set; } public long StorageId { get; set; } public string Id { get; set; } @@ -307,13 +311,10 @@ public IEnumerable GetFailureMechanisms() { - throw new NotImplementedException(); + yield break; } - public void ChangeComposition(AssessmentSectionComposition newComposition) - { - throw new NotImplementedException(); - } + public void ChangeComposition(AssessmentSectionComposition newComposition) {} } } } \ No newline at end of file