Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/IllustrationPoints/WindDirectionTestFactory.cs =================================================================== diff -u -rb7988d7a5616c8c305dac4419a15d5eda07e88bc -r47ffe2caa64a35b18c61dfef4b795ab0f0f30bc1 --- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/IllustrationPoints/WindDirectionTestFactory.cs (.../WindDirectionTestFactory.cs) (revision b7988d7a5616c8c305dac4419a15d5eda07e88bc) +++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/IllustrationPoints/WindDirectionTestFactory.cs (.../WindDirectionTestFactory.cs) (revision 47ffe2caa64a35b18c61dfef4b795ab0f0f30bc1) @@ -19,6 +19,7 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using System; using Ringtoets.Common.Data.IllustrationPoints; namespace Ringtoets.Common.Data.TestUtil.IllustrationPoints @@ -32,9 +33,22 @@ /// Creates a new instance of with arbitrary values for /// wind direction name and angle. /// + /// A which can be readily used for testing. public static WindDirection CreateTestWindDirection() { return new WindDirection("SSE", 5.0); } + + /// + /// /Creates a new instance of with a specified name. + /// + /// The name of the wind direction + /// A which can be readily used for testing. + /// Thrown when + /// is null. + public static WindDirection CreateTestWindDirection(string name) + { + return new WindDirection(name, 5.0); + } } } \ No newline at end of file