Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/TestStructure.cs =================================================================== diff -u -rd32eef17c3a48ff9b0cfce71088e912b1b5bb8c0 -r9ff0a37a156186137dbaf5a4d43bc0fab10de1f0 --- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/TestStructure.cs (.../TestStructure.cs) (revision d32eef17c3a48ff9b0cfce71088e912b1b5bb8c0) +++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/TestStructure.cs (.../TestStructure.cs) (revision 9ff0a37a156186137dbaf5a4d43bc0fab10de1f0) @@ -33,17 +33,60 @@ /// /// Creates a new instance of . /// - public TestStructure() : this("name", "id", new Point2D(0.0, 0.0)) {} + public TestStructure() + : this("id") {} /// /// Creates a new instance of . /// + /// The id of the structure. + /// Thrown when + /// is null, empty or consists of whitespace. + public TestStructure(string id) + : this(id, "name") {} + + /// + /// Creates a new instance of . + /// + /// The id of the structure. + /// The name of the structure. + /// Thrown when or + /// is null, empty or consists of only whitespaces. + public TestStructure(string id, string name) + : this(id, name, new Point2D(0.0, 0.0)) { } + + /// + /// Creates a new instance of . + /// + /// The id of the structure. /// The location of the structure. + /// Thrown when is + /// null, empty or consists of only whitespaces. /// Thrown when /// is null. - public TestStructure(Point2D location) : this("name", "id", location) {} + public TestStructure(string id, Point2D location) + : this(id, "name", location) { } - private TestStructure(string name, string id, Point2D location) + /// + /// Creates a new instance of . + /// + /// The location of the structure. + /// Thrown when + /// is null. + public TestStructure(Point2D location) + : this("id", "name", location) {} + + /// + /// Creates a new instance of . + /// + /// The id of the structure. + /// The name of the structure. + /// The location of the structure. + /// Thrown when or + /// is null, empty or consists of only whitespaces. + /// Thrown when + /// is null. + public TestStructure(string id, string name, Point2D location) : base(new ConstructionProperties { Name = name,