Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/TestDikeProfile.cs
===================================================================
diff -u -r3f1ac36864e2e1cbb1d41869e928eed116f0a310 -rba715436cd0186ee10a1edc13d547ee27bea4c89
--- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/TestDikeProfile.cs (.../TestDikeProfile.cs) (revision 3f1ac36864e2e1cbb1d41869e928eed116f0a310)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/TestDikeProfile.cs (.../TestDikeProfile.cs) (revision ba715436cd0186ee10a1edc13d547ee27bea4c89)
@@ -53,27 +53,38 @@
/// a specified foreshore profile geometry.
///
/// The geometry of the .
- public TestDikeProfile(IEnumerable foreshoreProfileGeometry)
- : this(null, new Point2D(0, 0), foreshoreProfileGeometry) {}
+ public TestDikeProfile(IEnumerable foreshoreProfileGeometry)
+ : this("id", null, new Point2D(0, 0), Enumerable.Empty(), foreshoreProfileGeometry) {}
///
+ /// Initializes default at the world origin with
+ /// a specified dike profile geometry.
+ ///
+ /// The geometry of the .
+ public TestDikeProfile(IEnumerable dikeGeometry)
+ : this("id", null, new Point2D(0, 0), dikeGeometry, Enumerable.Empty()) {}
+
+ ///
/// Initializes default at the world location.
///
/// The name of the dike profile.
/// The world coordinate of the dike profile.
- public TestDikeProfile(string name, Point2D point) : this(name, point, Enumerable.Empty()) {}
+ public TestDikeProfile(string name, Point2D point) : this("id", name, point, Enumerable.Empty(), Enumerable.Empty()) {}
///
/// Initializes default at the world location with
/// a specified foreshore profile geometry.
///
+ /// The ID of the dike profile.
/// The name of the dike profile.
/// The world coordinate of the dike profile.
+ /// The geometry of the dike.
/// The geometry of the .
- private TestDikeProfile(string name, Point2D point, IEnumerable foreshoreProfileGeometry)
- : base(point, Enumerable.Empty(), foreshoreProfileGeometry, null, new ConstructionProperties
- {
- Name = name
- }) {}
+ private TestDikeProfile(string id, string name, Point2D point, IEnumerable dikeGeometry, IEnumerable foreshoreProfileGeometry)
+ : base(point, dikeGeometry, foreshoreProfileGeometry, null, new ConstructionProperties
+ {
+ Id = id,
+ Name = name
+ }) {}
}
}
\ No newline at end of file