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