Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/DikeProfileTest.cs =================================================================== diff -u -r53aef346fd0ee3cc79d1f5df9171c476453f2935 -rb954fb6f2dd56ffb96be7b61ab129f19d879d2ab --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/DikeProfileTest.cs (.../DikeProfileTest.cs) (revision 53aef346fd0ee3cc79d1f5df9171c476453f2935) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/DikeProfileTest.cs (.../DikeProfileTest.cs) (revision b954fb6f2dd56ffb96be7b61ab129f19d879d2ab) @@ -140,6 +140,17 @@ } [Test] + public void Constructor_ConstructionPropertiesIsNull_ThrowsArgumentNullException() + { + // Call + TestDelegate call = () => new DikeProfile(new Point2D(0,0), new RoughnessPoint[0], new Point2D[0], null, null); + + // Assert + string paramName = Assert.Throws(call).ParamName; + Assert.AreEqual("properties", paramName); + } + + [Test] public void Orientation_SetToValueWithTooManyDecimalPlaces_ValueIsRounded() { // Call