Index: Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Plugin.Test/ExportInfos/DuneLocationsContextExportInfoTest.cs =================================================================== diff -u -r18e853179b2a70e1404a89b4db662d071c7bfec8 -r2b5c91f2bd6369a53ab9e89915707f98ce553463 --- Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Plugin.Test/ExportInfos/DuneLocationsContextExportInfoTest.cs (.../DuneLocationsContextExportInfoTest.cs) (revision 18e853179b2a70e1404a89b4db662d071c7bfec8) +++ Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Plugin.Test/ExportInfos/DuneLocationsContextExportInfoTest.cs (.../DuneLocationsContextExportInfoTest.cs) (revision 2b5c91f2bd6369a53ab9e89915707f98ce553463) @@ -66,9 +66,11 @@ var assessmentSection = mocks.Stub(); mocks.ReplayAll(); - var context = new DuneLocationCalculationsContext(new ObservableList(), - new DuneErosionFailureMechanism(), - assessmentSection); + var context = new DuneLocationCalculationsContext(new ObservableList(), + new DuneErosionFailureMechanism(), + assessmentSection, + () => 0.01, + "Category Boundary Name"); using (var plugin = new DuneErosionPlugin()) { @@ -80,6 +82,7 @@ // Assert Assert.IsInstanceOf(fileExporter); } + mocks.VerifyAll(); } @@ -111,9 +114,11 @@ { new DuneLocationCalculation(new TestDuneLocation()) }; - var context = new DuneLocationCalculationsContext(duneLocationCalculations, - new DuneErosionFailureMechanism(), - assessmentSection); + var context = new DuneLocationCalculationsContext(duneLocationCalculations, + new DuneErosionFailureMechanism(), + assessmentSection, + () => 0.01, + "Category Boundary Name"); using (var plugin = new DuneErosionPlugin()) { @@ -125,6 +130,7 @@ // Assert Assert.IsFalse(isEnabled); } + mocks.VerifyAll(); } @@ -143,9 +149,11 @@ Output = new TestDuneLocationOutput() } }; - var context = new DuneLocationCalculationsContext(duneLocationCalculations, + var context = new DuneLocationCalculationsContext(duneLocationCalculations, new DuneErosionFailureMechanism(), - assessmentSection); + assessmentSection, + () => 0.01, + "Category Boundary Name"); using (var plugin = new DuneErosionPlugin()) { @@ -157,6 +165,7 @@ // Assert Assert.IsTrue(isEnabled); } + mocks.VerifyAll(); }