Index: Ringtoets/Revetment/test/Ringtoets.Revetment.Forms.Test/PropertyClasses/WaveConditionsInputContextPropertiesTest.cs =================================================================== diff -u -r54d81da9b5622275aef0c85397d3c7f23e08c67b -re444a84b4fbf8411cd3237eb2e836df68790652b --- Ringtoets/Revetment/test/Ringtoets.Revetment.Forms.Test/PropertyClasses/WaveConditionsInputContextPropertiesTest.cs (.../WaveConditionsInputContextPropertiesTest.cs) (revision 54d81da9b5622275aef0c85397d3c7f23e08c67b) +++ Ringtoets/Revetment/test/Ringtoets.Revetment.Forms.Test/PropertyClasses/WaveConditionsInputContextPropertiesTest.cs (.../WaveConditionsInputContextPropertiesTest.cs) (revision e444a84b4fbf8411cd3237eb2e836df68790652b) @@ -32,6 +32,7 @@ using Core.Common.Util; using NUnit.Framework; using Rhino.Mocks; +using Ringtoets.Common.Data.AssessmentSection; using Ringtoets.Common.Data.DikeProfiles; using Ringtoets.Common.Data.Hydraulics; using Ringtoets.Common.Data.TestUtil; @@ -68,12 +69,14 @@ private const int revetmentTypePropertyIndex = 14; private MockRepository mockRepository; + private IAssessmentSection assessmentSection; private IObservablePropertyChangeHandler handler; [SetUp] public void SetUp() { mockRepository = new MockRepository(); + assessmentSection = mockRepository.Stub(); handler = mockRepository.Stub(); mockRepository.ReplayAll(); } @@ -644,7 +647,7 @@ }; var calculation = new TestWaveConditionsCalculation(); - var inputContext = new TestWaveConditionsInputContext(input, calculation, new ObservableTestAssessmentSectionStub(), new ForeshoreProfile[0], locations); + var inputContext = new TestWaveConditionsInputContext(input, calculation, assessmentSection, new ForeshoreProfile[0], locations); var otherProfile = new TestForeshoreProfile(new Point2D(0, 190)); var customHandler = new SetPropertyValueAfterConfirmationParameterTester(Enumerable.Empty()); @@ -691,7 +694,7 @@ Assert.AreSame(locations, availableForeshoreProfiles); } - private static void SetPropertyAndVerifyNotificationsAndOutputForCalculation(Action setProperty) + private void SetPropertyAndVerifyNotificationsAndOutputForCalculation(Action setProperty) { // Setup var mocks = new MockRepository(); @@ -705,7 +708,7 @@ var context = new TestWaveConditionsInputContext(input, calculation, - new ObservableTestAssessmentSectionStub(), + assessmentSection, new ForeshoreProfile[0], new HydraulicBoundaryLocation[0]);