Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestForeshoreProfileTest.cs =================================================================== diff -u -r7179946a6b62ebb33a90167c52af7c32f1100d73 -r6678115bc8c06dcc0b676429038e1839b128d6f2 --- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestForeshoreProfileTest.cs (.../TestForeshoreProfileTest.cs) (revision 7179946a6b62ebb33a90167c52af7c32f1100d73) +++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestForeshoreProfileTest.cs (.../TestForeshoreProfileTest.cs) (revision 6678115bc8c06dcc0b676429038e1839b128d6f2) @@ -37,7 +37,7 @@ // Assert Assert.IsEmpty(profile.Geometry); Assert.AreEqual("id", profile.Id); - Assert.AreEqual("id", profile.Name); + Assert.AreEqual("name", profile.Name); Assert.IsFalse(profile.HasBreakWater); Assert.AreEqual(0.0, profile.X0); Assert.AreEqual(0.0, profile.Orientation.Value); @@ -53,7 +53,7 @@ // Assert Assert.IsEmpty(profile.Geometry); Assert.AreEqual("id", profile.Id); - Assert.AreEqual("id", profile.Name); + Assert.AreEqual("name", profile.Name); Assert.IsTrue(profile.HasBreakWater); Assert.IsNotNull(profile.BreakWater); Assert.AreEqual(BreakWaterType.Dam, profile.BreakWater.Type); @@ -138,7 +138,7 @@ // Assert Assert.IsEmpty(profile.Geometry); Assert.AreEqual("id", profile.Id); - Assert.AreEqual("id", profile.Name); + Assert.AreEqual("name", profile.Name); Assert.AreSame(breakWater, profile.BreakWater); Assert.IsTrue(profile.HasBreakWater); Assert.AreEqual(0.0, profile.X0); @@ -162,7 +162,7 @@ // Assert CollectionAssert.AreEqual(geometry, profile.Geometry); Assert.AreEqual("id", profile.Id); - Assert.AreEqual("id", profile.Name); + Assert.AreEqual("name", profile.Name); Assert.IsFalse(profile.HasBreakWater); Assert.AreEqual(0.0, profile.X0); Assert.AreEqual(0.0, profile.Orientation.Value); @@ -182,12 +182,12 @@ const string id = "Dike Profile ID"; // Call - ForeshoreProfile profile = new TestForeshoreProfile(geometry, id); + ForeshoreProfile profile = new TestForeshoreProfile(id, geometry); // Assert CollectionAssert.AreEqual(geometry, profile.Geometry); Assert.AreEqual(id, profile.Id); - Assert.AreEqual(id, profile.Name); + Assert.AreEqual("name", profile.Name); Assert.IsFalse(profile.HasBreakWater); Assert.AreEqual(0.0, profile.X0); Assert.AreEqual(0.0, profile.Orientation.Value);