Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructuresCalculationConfiguration.cs
===================================================================
diff -u -rafe6bfdec2a155872cacd3bb3ed786ee5a785118 -r5da2eede50bb14cb73fc2ea8a122c03244c428a2
--- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructuresCalculationConfiguration.cs (.../HeightStructuresCalculationConfiguration.cs) (revision afe6bfdec2a155872cacd3bb3ed786ee5a785118)
+++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructuresCalculationConfiguration.cs (.../HeightStructuresCalculationConfiguration.cs) (revision 5da2eede50bb14cb73fc2ea8a122c03244c428a2)
@@ -19,6 +19,7 @@
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
+using System;
using Ringtoets.Common.IO.Configurations;
namespace Ringtoets.HeightStructures.IO
@@ -32,6 +33,7 @@
/// Creates a new instance of .
///
/// The name of the .
+ /// Thrown when is null.
public HeightStructuresCalculationConfiguration(string name) : base(name) {}
///
Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/HeightStructuresCalculationConfigurationTest.cs
===================================================================
diff -u -rd393a6e22ba176f0ce9731629a37ce3272b1f433 -r5da2eede50bb14cb73fc2ea8a122c03244c428a2
--- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/HeightStructuresCalculationConfigurationTest.cs (.../HeightStructuresCalculationConfigurationTest.cs) (revision d393a6e22ba176f0ce9731629a37ce3272b1f433)
+++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.IO.Test/HeightStructuresCalculationConfigurationTest.cs (.../HeightStructuresCalculationConfigurationTest.cs) (revision 5da2eede50bb14cb73fc2ea8a122c03244c428a2)
@@ -29,6 +29,17 @@
public class HeightStructuresCalculationConfigurationTest
{
[Test]
+ public void Constructor_NameNull_ThrowsArgumentNullException()
+ {
+ // Call
+ TestDelegate call = () => new HeightStructuresCalculationConfiguration(null);
+
+ // Assert
+ string paramName = Assert.Throws(call).ParamName;
+ Assert.AreEqual("value", paramName);
+ }
+
+ [Test]
public void Constructor_WithName_ExpectedValues()
{
// Call
Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/Ringtoets.StabilityPointStructures.IO.csproj
===================================================================
diff -u -r5bbbdab924d1cc6c4959ac892903120acdbc82fb -r5da2eede50bb14cb73fc2ea8a122c03244c428a2
--- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/Ringtoets.StabilityPointStructures.IO.csproj (.../Ringtoets.StabilityPointStructures.IO.csproj) (revision 5bbbdab924d1cc6c4959ac892903120acdbc82fb)
+++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/Ringtoets.StabilityPointStructures.IO.csproj (.../Ringtoets.StabilityPointStructures.IO.csproj) (revision 5da2eede50bb14cb73fc2ea8a122c03244c428a2)
@@ -45,6 +45,7 @@
+
@@ -74,7 +75,10 @@
False
-
+
+
+
+