Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/ViewInfos/HeightStructuresFailureMechanismResultViewInfoTest.cs =================================================================== diff -u -r3178e116f5e59e03078d465efeb303c5e232c7bf -rf4049b9b0967513aeadfddb1fe58efa3b3aa1677 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/ViewInfos/HeightStructuresFailureMechanismResultViewInfoTest.cs (.../HeightStructuresFailureMechanismResultViewInfoTest.cs) (revision 3178e116f5e59e03078d465efeb303c5e232c7bf) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/ViewInfos/HeightStructuresFailureMechanismResultViewInfoTest.cs (.../HeightStructuresFailureMechanismResultViewInfoTest.cs) (revision f4049b9b0967513aeadfddb1fe58efa3b3aa1677) @@ -22,13 +22,13 @@ using System.Collections.Generic; using System.Drawing; using System.Linq; -using Core.Common.Base.Geometry; using Core.Common.Gui.Plugin; using Core.Common.TestUtil; using NUnit.Framework; using Rhino.Mocks; using Ringtoets.Common.Data.AssessmentSection; using Ringtoets.Common.Data.FailureMechanism; +using Ringtoets.Common.Data.TestUtil; using Ringtoets.Common.Forms.PresentationObjects; using Ringtoets.HeightStructures.Data; using Ringtoets.HeightStructures.Forms.PresentationObjects; @@ -80,10 +80,11 @@ // Setup var sectionResults = new[] { - new HeightStructuresFailureMechanismSectionResult(CreateSection()) + new HeightStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) }; - var context = new FailureMechanismSectionResultContext(sectionResults, new HeightStructuresFailureMechanism()); + var context = new FailureMechanismSectionResultContext(sectionResults, + new HeightStructuresFailureMechanism()); // Call object viewData = info.GetViewData(context); @@ -285,14 +286,5 @@ // Assert mocks.VerifyAll(); } - - private static FailureMechanismSection CreateSection() - { - return new FailureMechanismSection("test", new[] - { - new Point2D(1, 2), - new Point2D(3, 4) - }); - } } } \ No newline at end of file