Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PropertyClasses/GrassCoverErosionOutwardsWaveHeightLocationsPropertiesTest.cs =================================================================== diff -u -r6b0cf3b2a278cb86ec4fc5af26f792afcf0cf3a4 -r7a444ffa77c3d02690d809fab1ba0d7033ef646a --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PropertyClasses/GrassCoverErosionOutwardsWaveHeightLocationsPropertiesTest.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsPropertiesTest.cs) (revision 6b0cf3b2a278cb86ec4fc5af26f792afcf0cf3a4) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PropertyClasses/GrassCoverErosionOutwardsWaveHeightLocationsPropertiesTest.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsPropertiesTest.cs) (revision 7a444ffa77c3d02690d809fab1ba0d7033ef646a) @@ -19,6 +19,7 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using System; using System.ComponentModel; using System.Linq; using Core.Common.Base; @@ -37,6 +38,20 @@ public class GrassCoverErosionOutwardsWaveHeightLocationsPropertiesTest { [Test] + public void Constructor_GetCalculationFuncNull_ThrowsArgumentNullException() + { + // Setup + var hydraulicBoundaryLocations = new ObservableList(); + + // Call + TestDelegate call = () => new GrassCoverErosionOutwardsWaveHeightLocationsProperties(hydraulicBoundaryLocations, null); + + // Assert + var exception = Assert.Throws(call); + Assert.AreEqual("getCalculationFunc", exception.ParamName); + } + + [Test] public void Constructor_WithLocations_ExpectedValues() { // Setup