Index: Ringtoets/Revetment/test/Ringtoets.Revetment.Forms.TestUtil.Test/TestWaveConditionsInputContextTest.cs =================================================================== diff -u -r5ca67bdbaab0f6a9fb7682c06140b93bb0f5b5bb -raf6d59e5d91e62762272f7480914b2e7c445b4d3 --- Ringtoets/Revetment/test/Ringtoets.Revetment.Forms.TestUtil.Test/TestWaveConditionsInputContextTest.cs (.../TestWaveConditionsInputContextTest.cs) (revision 5ca67bdbaab0f6a9fb7682c06140b93bb0f5b5bb) +++ Ringtoets/Revetment/test/Ringtoets.Revetment.Forms.TestUtil.Test/TestWaveConditionsInputContextTest.cs (.../TestWaveConditionsInputContextTest.cs) (revision af6d59e5d91e62762272f7480914b2e7c445b4d3) @@ -43,6 +43,7 @@ Assert.IsInstanceOf(context); Assert.AreSame(waveConditionsInput, context.WrappedData); Assert.IsInstanceOf(context.Calculation); + Assert.IsInstanceOf(context.AssessmentSection); CollectionAssert.IsEmpty(context.ForeshoreProfiles); CollectionAssert.IsEmpty(context.HydraulicBoundaryLocations); } @@ -70,6 +71,7 @@ Assert.IsInstanceOf(context); Assert.AreSame(waveConditionsInput, context.WrappedData); Assert.IsInstanceOf(context.Calculation); + Assert.IsInstanceOf(context.AssessmentSection); Assert.AreSame(profiles, context.ForeshoreProfiles); Assert.AreSame(locations, context.HydraulicBoundaryLocations); } @@ -80,6 +82,7 @@ // Setup var waveConditionsInput = new WaveConditionsInput(); var calculation = new TestWaveConditionsCalculation(); + var assessmentSection = new ObservableTestAssessmentSectionStub(); var profiles = new[] { new TestForeshoreProfile("test1"), @@ -92,12 +95,17 @@ }; // Call - var context = new TestWaveConditionsInputContext(waveConditionsInput, calculation, profiles, locations); + var context = new TestWaveConditionsInputContext(waveConditionsInput, + calculation, + assessmentSection, + profiles, + locations); // Assert Assert.IsInstanceOf(context); Assert.AreSame(waveConditionsInput, context.WrappedData); Assert.AreSame(calculation, context.Calculation); + Assert.AreSame(assessmentSection, context.AssessmentSection); Assert.AreSame(profiles, context.ForeshoreProfiles); Assert.AreSame(locations, context.HydraulicBoundaryLocations); }