Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil/TestClosingStructure.cs
===================================================================
diff -u -r6b18e2c0134c97e01ba13c518fb7a8efa7f42253 -reabf1a800431a23b06c8d81dfbf0f46a71bb659b
--- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil/TestClosingStructure.cs (.../TestClosingStructure.cs) (revision 6b18e2c0134c97e01ba13c518fb7a8efa7f42253)
+++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil/TestClosingStructure.cs (.../TestClosingStructure.cs) (revision eabf1a800431a23b06c8d81dfbf0f46a71bb659b)
@@ -34,16 +34,16 @@
/// Creates a new instance of .
///
public TestClosingStructure()
- : this("test") {}
+ : this("id") {}
///
/// Creates a new instance of .
///
- /// The name of the structure.
- /// Thrown when
+ /// The id of the structure.
+ /// Thrown when
/// is null, empty or consists of only whitespaces.
- public TestClosingStructure(string name)
- : this(name, "id", new Point2D(12345.56789, 9876.54321), ClosingStructureInflowModelType.VerticalWall) {}
+ public TestClosingStructure(string id)
+ : this("name", id, new Point2D(12345.56789, 9876.54321), ClosingStructureInflowModelType.VerticalWall) {}
///
/// Creates a new instance of .
@@ -61,14 +61,25 @@
/// The location of the structure.
/// Thrown when
/// is null.
- public TestClosingStructure(Point2D location) : this("test", "id", location, ClosingStructureInflowModelType.VerticalWall) {}
+ public TestClosingStructure(Point2D location) : this("name", "id", location, ClosingStructureInflowModelType.VerticalWall) { }
///
/// Creates a new instance of .
///
+ /// The location of the structure.
+ /// The id of the structure.
+ /// Thrown when
+ /// is null.
+ /// Thrown when is
+ /// null, empty or consists of only whitespaces.
+ public TestClosingStructure(Point2D location, string id) : this("name", id, location, ClosingStructureInflowModelType.VerticalWall) { }
+
+ ///
+ /// Creates a new instance of .
+ ///
/// The inflow model type of the structure.
public TestClosingStructure(ClosingStructureInflowModelType type)
- : this("test", "id", new Point2D(12345.56789, 9876.54321), type) {}
+ : this("name", "id", new Point2D(12345.56789, 9876.54321), type) {}
///
/// Creates a new instance of .