Index: Ringtoets/Common/src/Ringtoets.Common.Service/DesignWaterLevelCalculationActivity.cs
===================================================================
diff -u -r3541c7abb0ff0c7eae87e83eed2bfe691a2d46e8 -r14a4de9fb707e6975c8e710e7947bdaa80212cc1
--- Ringtoets/Common/src/Ringtoets.Common.Service/DesignWaterLevelCalculationActivity.cs (.../DesignWaterLevelCalculationActivity.cs) (revision 3541c7abb0ff0c7eae87e83eed2bfe691a2d46e8)
+++ Ringtoets/Common/src/Ringtoets.Common.Service/DesignWaterLevelCalculationActivity.cs (.../DesignWaterLevelCalculationActivity.cs) (revision 14a4de9fb707e6975c8e710e7947bdaa80212cc1)
@@ -41,7 +41,7 @@
///
/// The hydraulic boundary location calculation to perform.
/// The containing all data
- /// to perform a hydraulic boundary calculation.
+ /// to perform a hydraulic boundary calculation.
/// The norm to use during the calculation.
/// The category boundary name of the calculation.
/// Preprocessing is disabled when the preprocessor directory equals .
Index: Ringtoets/Common/test/Ringtoets.Common.Service.Test/DesignWaterLevelCalculationActivityTest.cs
===================================================================
diff -u -r3541c7abb0ff0c7eae87e83eed2bfe691a2d46e8 -r14a4de9fb707e6975c8e710e7947bdaa80212cc1
--- Ringtoets/Common/test/Ringtoets.Common.Service.Test/DesignWaterLevelCalculationActivityTest.cs (.../DesignWaterLevelCalculationActivityTest.cs) (revision 3541c7abb0ff0c7eae87e83eed2bfe691a2d46e8)
+++ Ringtoets/Common/test/Ringtoets.Common.Service.Test/DesignWaterLevelCalculationActivityTest.cs (.../DesignWaterLevelCalculationActivityTest.cs) (revision 14a4de9fb707e6975c8e710e7947bdaa80212cc1)
@@ -68,6 +68,24 @@
}
[Test]
+ public void Constructor_CalculationSettingsNull_ThrowsArgumentNullException()
+ {
+ // Setup
+ const string locationName = "locationName";
+ const string categoryBoundaryName = "A";
+
+ // Call
+ TestDelegate call = () => new DesignWaterLevelCalculationActivity(new HydraulicBoundaryLocationCalculation(new TestHydraulicBoundaryLocation(locationName)),
+ null,
+ 1,
+ categoryBoundaryName);
+
+ // Assert
+ var exception = Assert.Throws(call);
+ Assert.AreEqual("calculationSettings", exception.ParamName);
+ }
+
+ [Test]
public void Constructor_ExpectedValues()
{
// Setup
Index: Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Service/DuneLocationCalculationActivity.cs
===================================================================
diff -u -r74255ec7a1b441b33fd667d2fe0612eb333ed327 -r14a4de9fb707e6975c8e710e7947bdaa80212cc1
--- Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Service/DuneLocationCalculationActivity.cs (.../DuneLocationCalculationActivity.cs) (revision 74255ec7a1b441b33fd667d2fe0612eb333ed327)
+++ Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Service/DuneLocationCalculationActivity.cs (.../DuneLocationCalculationActivity.cs) (revision 14a4de9fb707e6975c8e710e7947bdaa80212cc1)
@@ -43,7 +43,7 @@
///
/// The to perform.
/// The containing all data
- /// to perform a hydraulic boundary calculation.
+ /// to perform a hydraulic boundary calculation.
/// The norm to use during the calculation.
/// The name of the category boundary.
/// Preprocessing is disabled when 'the preprocessor directory equals .
Index: Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Service/DuneLocationCalculationService.cs
===================================================================
diff -u -r96adc990966e755e4cf8c140e2b1350a4da2ef63 -r14a4de9fb707e6975c8e710e7947bdaa80212cc1
--- Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Service/DuneLocationCalculationService.cs (.../DuneLocationCalculationService.cs) (revision 96adc990966e755e4cf8c140e2b1350a4da2ef63)
+++ Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Service/DuneLocationCalculationService.cs (.../DuneLocationCalculationService.cs) (revision 14a4de9fb707e6975c8e710e7947bdaa80212cc1)
@@ -205,7 +205,7 @@
/// The to create the input for.
/// The norm of the failure mechanism to use.
/// The containing
- /// all data to perform a hydraulic boundary calculation.
+ /// all data to perform a hydraulic boundary calculation.
/// A with all needed
/// input data.
/// Thrown when the hydraulic boundary database file path.
Index: Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Service.Test/DuneLocationCalculationActivityTest.cs
===================================================================
diff -u -r7de9d879e6a27df69f2d8b996179a524b11eb1d7 -r14a4de9fb707e6975c8e710e7947bdaa80212cc1
--- Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Service.Test/DuneLocationCalculationActivityTest.cs (.../DuneLocationCalculationActivityTest.cs) (revision 7de9d879e6a27df69f2d8b996179a524b11eb1d7)
+++ Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Service.Test/DuneLocationCalculationActivityTest.cs (.../DuneLocationCalculationActivityTest.cs) (revision 14a4de9fb707e6975c8e710e7947bdaa80212cc1)
@@ -59,6 +59,24 @@
}
[Test]
+ public void Constructor_CalculationSettingsNull_ThrowsArgumentNullException()
+ {
+ // Setup
+ const string locationName = "locationName";
+ const string categoryBoundaryName = "A";
+
+ // Call
+ TestDelegate call = () => new DuneLocationCalculationActivity(new DuneLocationCalculation(new TestDuneLocation(locationName)),
+ null,
+ 1,
+ categoryBoundaryName);
+
+ // Assert
+ var exception = Assert.Throws(call);
+ Assert.AreEqual("calculationSettings", exception.ParamName);
+ }
+
+ [Test]
public void Constructor_ExpectedValues()
{
// Setup