Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ViewInfos/GrassCoverErosionOutwardsWaveHeightLocationsViewInfoTest.cs =================================================================== diff -u -r515b6e8f36c1d08a017e240a29f0b41134902073 -r232167b1fa0b3e017074e366ef8f835bbd76d773 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ViewInfos/GrassCoverErosionOutwardsWaveHeightLocationsViewInfoTest.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsViewInfoTest.cs) (revision 515b6e8f36c1d08a017e240a29f0b41134902073) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ViewInfos/GrassCoverErosionOutwardsWaveHeightLocationsViewInfoTest.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsViewInfoTest.cs) (revision 232167b1fa0b3e017074e366ef8f835bbd76d773) @@ -76,7 +76,10 @@ var info = GetInfo(plugin); // Call - var locations = info.GetViewData(new GrassCoverErosionOutwardsWaveHeightLocationsContext(expectedLocations, assessmentSectionStub)); + var locations = info.GetViewData(new GrassCoverErosionOutwardsWaveHeightLocationsContext( + expectedLocations, + assessmentSectionStub, + new GrassCoverErosionOutwardsFailureMechanism())); // Assert Assert.AreSame(locations, expectedLocations); @@ -98,7 +101,11 @@ { var info = GetInfo(plugin); - var data = new GrassCoverErosionOutwardsWaveHeightLocationsContext(new ObservableList(), assessmentSectionStub); + var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); + var data = new GrassCoverErosionOutwardsWaveHeightLocationsContext( + new ObservableList(), + assessmentSectionStub, + failureMechanism); plugin.Gui = guiStub; plugin.Activate(); @@ -109,6 +116,7 @@ // Assert Assert.AreSame(assessmentSectionStub, view.AssessmentSection); Assert.AreSame(guiStub, view.ApplicationSelection); + Assert.AreSame(failureMechanism, view.FailureMechanism); Assert.IsInstanceOf(view.CalculationGuiService); } }