Index: Riskeer/Common/test/Riskeer.Common.Forms.Test/Factories/HydraulicBoundaryLocationMapDataFeaturesFactoryTest.cs =================================================================== diff -u -r2dc7df33cab9d02a3f911e0381ba3804f5176cf7 -r1e2a278c21640c8ea4776aab93bc03f0658a4f53 --- Riskeer/Common/test/Riskeer.Common.Forms.Test/Factories/HydraulicBoundaryLocationMapDataFeaturesFactoryTest.cs (.../HydraulicBoundaryLocationMapDataFeaturesFactoryTest.cs) (revision 2dc7df33cab9d02a3f911e0381ba3804f5176cf7) +++ Riskeer/Common/test/Riskeer.Common.Forms.Test/Factories/HydraulicBoundaryLocationMapDataFeaturesFactoryTest.cs (.../HydraulicBoundaryLocationMapDataFeaturesFactoryTest.cs) (revision 1e2a278c21640c8ea4776aab93bc03f0658a4f53) @@ -91,6 +91,18 @@ } [Test] + public void AddTargetProbabilityMetaData_TargetProbabilitiesNull_ThrowsArgumentNullException() + { + // Call + void Call() => HydraulicBoundaryLocationMapDataFeaturesFactory.AddTargetProbabilityMetaData( + new MapFeature(Enumerable.Empty()), null, string.Empty); + + // Assert + var exception = Assert.Throws(Call); + Assert.AreEqual("targetProbabilities", exception.ParamName); + } + + [Test] public void AddTargetProbabilityMetaData_DisplayNameFormatNull_ThrowsArgumentNullException() { // Call