Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/Views/ClosingStructuresFailureMechanismViewTest.cs =================================================================== diff -u -reabf1a800431a23b06c8d81dfbf0f46a71bb659b -r6678115bc8c06dcc0b676429038e1839b128d6f2 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/Views/ClosingStructuresFailureMechanismViewTest.cs (.../ClosingStructuresFailureMechanismViewTest.cs) (revision eabf1a800431a23b06c8d81dfbf0f46a71bb659b) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/Views/ClosingStructuresFailureMechanismViewTest.cs (.../ClosingStructuresFailureMechanismViewTest.cs) (revision 6678115bc8c06dcc0b676429038e1839b128d6f2) @@ -254,16 +254,16 @@ failureMechanism.AddSection(new FailureMechanismSection("B", geometryPoints.Skip(1).Take(2))); failureMechanism.AddSection(new FailureMechanismSection("C", geometryPoints.Skip(2).Take(2))); - var profile1 = new TestForeshoreProfile(new[] + var profile1 = new TestForeshoreProfile("profile1 ID", new[] { new Point2D(0, 0), new Point2D(1, 1) - }, "profile1 ID"); - var profile2 = new TestForeshoreProfile(new[] + }); + var profile2 = new TestForeshoreProfile("profile2 ID", new[] { new Point2D(2, 2), new Point2D(3, 3) - }, "profile2 ID"); + }); failureMechanism.ForeshoreProfiles.AddRange(new[] { profile1, @@ -518,11 +518,11 @@ failureMechanism.ForeshoreProfiles.AddRange(new[] { - new TestForeshoreProfile(new[] + new TestForeshoreProfile("originalProfile ID", new[] { new Point2D(0, 0), new Point2D(1, 1) - }, "originalProfile ID") + }) }, "path"); view.Data = failureMechanismContext; @@ -535,11 +535,11 @@ // Call failureMechanism.ForeshoreProfiles.AddRange(new[] { - new TestForeshoreProfile(new[] + new TestForeshoreProfile("newProfile ID", new[] { new Point2D(2, 2), new Point2D(3, 3) - }, "newProfile ID") + }) }, "path"); failureMechanism.ForeshoreProfiles.NotifyObservers();