Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestForeshoreProfileTest.cs =================================================================== diff -u -red4b032b9903f394deb9691c2c39a9f2122ab0f5 -r7179946a6b62ebb33a90167c52af7c32f1100d73 --- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestForeshoreProfileTest.cs (.../TestForeshoreProfileTest.cs) (revision ed4b032b9903f394deb9691c2c39a9f2122ab0f5) +++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestForeshoreProfileTest.cs (.../TestForeshoreProfileTest.cs) (revision 7179946a6b62ebb33a90167c52af7c32f1100d73) @@ -64,18 +64,18 @@ } [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); @@ -103,23 +103,23 @@ } [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);