Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ViewInfos/GrassCoverErosionOutwardsDesignWaterLevelLocationsViewInfoTest.cs =================================================================== diff -u -r94c00eb5839a1f1e96ebfe0d5c62f40e1d0ef500 -rab5fe3ae7bb47d1648c200bc00f20e52512b15cb --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ViewInfos/GrassCoverErosionOutwardsDesignWaterLevelLocationsViewInfoTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelLocationsViewInfoTest.cs) (revision 94c00eb5839a1f1e96ebfe0d5c62f40e1d0ef500) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ViewInfos/GrassCoverErosionOutwardsDesignWaterLevelLocationsViewInfoTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelLocationsViewInfoTest.cs) (revision ab5fe3ae7bb47d1648c200bc00f20e52512b15cb) @@ -254,13 +254,17 @@ // Setup var mocks = new MockRepository(); var assessmentSectionA = mocks.Stub(); + assessmentSectionA.Stub(a => a.GetFailureMechanisms()).Return(new[] + { + new GrassCoverErosionOutwardsFailureMechanism() + }); mocks.ReplayAll(); using (var view = new GrassCoverErosionOutwardsDesignWaterLevelLocationsView()) using (var plugin = new GrassCoverErosionOutwardsPlugin()) { var info = GetInfo(plugin); - view.Data = assessmentSectionA; + view.AssessmentSection = assessmentSectionA; // Call var closeForData = info.CloseForData(view, new object());