Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestForeshoreProfileTest.cs =================================================================== diff -u -rb3b6c13cf736c134476b3db34281332d01ca86b1 -rddfc49cdc5d478ea4fc5da9c625834def6dd1939 --- 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 ddfc49cdc5d478ea4fc5da9c625834def6dd1939) @@ -64,42 +64,42 @@ } [Test] - public void Constructor_WithName_ReturnForeshoreProfileWithGivenNameAndNoBreakWater() + public void Constructor_WithId_ReturnForeshoreProfileWithGivenNameAndNoBreakWater() { // Setup - const string name = "test"; + const string id = "test"; // Call - ForeshoreProfile profile = new TestForeshoreProfile(name); + ForeshoreProfile profile = new TestForeshoreProfile(id); // Assert Assert.IsEmpty(profile.Geometry); - Assert.AreEqual("id", profile.Id); - Assert.AreEqual(name, profile.Name); + 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() + public void Constructor_WithIdAndGeometry_ReturnForeshoreProfileWithGivenNameAndGeometry() { // Setup - const string name = "test"; + const string id = "test"; var geometry = new[] { new Point2D(0, 0), new Point2D(1, 1) }; // Call - ForeshoreProfile profile = new TestForeshoreProfile(name, geometry); + ForeshoreProfile profile = new TestForeshoreProfile(id, geometry); // Assert CollectionAssert.AreEqual(geometry, profile.Geometry); - Assert.AreEqual("id", profile.Id); - Assert.AreEqual(name, profile.Name); + 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);