Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestForeshoreProfileTest.cs =================================================================== diff -u -rba715436cd0186ee10a1edc13d547ee27bea4c89 -r5b07686bb3f89f1fa1017c4bf2cf8964ae9bd95c --- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestForeshoreProfileTest.cs (.../TestForeshoreProfileTest.cs) (revision ba715436cd0186ee10a1edc13d547ee27bea4c89) +++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestForeshoreProfileTest.cs (.../TestForeshoreProfileTest.cs) (revision 5b07686bb3f89f1fa1017c4bf2cf8964ae9bd95c) @@ -83,6 +83,30 @@ } [Test] + public void Constructor_WithNameAndGeometry_ReturnForeshoreProfileWithGivenNameAndGeometry() + { + // Setup + const string name = "test"; + var geometry = new[] + { + new Point2D(0, 0), + new Point2D(1, 1) + }; + + // Call + ForeshoreProfile profile = new TestForeshoreProfile(name, geometry); + + // Assert + CollectionAssert.AreEqual(geometry, profile.Geometry); + Assert.AreEqual("id", profile.Id); + Assert.AreEqual(name, profile.Name); + Assert.IsFalse(profile.HasBreakWater); + Assert.AreEqual(0.0, profile.X0); + Assert.AreEqual(0.0, profile.Orientation.Value); + Assert.AreEqual(new Point2D(0, 0), profile.WorldReferencePoint); + } + + [Test] public void Constructor_WithBreakWater_ReturnsForeshoreProfileWithEmptyNameAndOnePointAtOriginAndBreakWater() { // Setup