Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestForeshoreProfileTest.cs =================================================================== diff -u -rb3b6c13cf736c134476b3db34281332d01ca86b1 -r1670de73d9d8374e328de5a0a8cbbe883c0d1f14 --- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestForeshoreProfileTest.cs (.../TestForeshoreProfileTest.cs) (revision b3b6c13cf736c134476b3db34281332d01ca86b1) +++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestForeshoreProfileTest.cs (.../TestForeshoreProfileTest.cs) (revision 1670de73d9d8374e328de5a0a8cbbe883c0d1f14) @@ -83,6 +83,26 @@ } [Test] + public void Constructor_WithNameAndId_ReturnExpectedForeshoreProfileProperties() + { + // Setup + const string name = "test"; + const string id = "Just an ID"; + + // Call + ForeshoreProfile profile = new TestForeshoreProfile(name, id); + + // Assert + Assert.IsEmpty(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_WithNameAndGeometry_ReturnForeshoreProfileWithGivenNameAndGeometry() { // Setup