Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/HeightStructuresFailureMechanismSectionResultCreateExtensionsTest.cs =================================================================== diff -u -r0868d78756c7992a83a096f3d3759046c2dbb217 -re0ef393f7069a18d7e160aceaf91f603dfc8c5ae --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/HeightStructuresFailureMechanismSectionResultCreateExtensionsTest.cs (.../HeightStructuresFailureMechanismSectionResultCreateExtensionsTest.cs) (revision 0868d78756c7992a83a096f3d3759046c2dbb217) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/HeightStructuresFailureMechanismSectionResultCreateExtensionsTest.cs (.../HeightStructuresFailureMechanismSectionResultCreateExtensionsTest.cs) (revision e0ef393f7069a18d7e160aceaf91f603dfc8c5ae) @@ -21,10 +21,9 @@ using System; using Application.Ringtoets.Storage.Create; +using Application.Ringtoets.Storage.TestUtil; using Core.Common.Base.Data; -using Core.Common.Base.Geometry; using NUnit.Framework; -using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.HeightStructures.Data; namespace Application.Ringtoets.Storage.Test.Create @@ -36,7 +35,7 @@ public void Create_WithoutPersistenceRegistry_ThrowsArgumentNullException() { // Setup - var sectionResult = new HeightStructuresFailureMechanismSectionResult(new FailureMechanismSection("", new [] { new Point2D(0,0) })); + var sectionResult = new HeightStructuresFailureMechanismSectionResult(new TestFailureMechanismSection()); // Call TestDelegate test = () => sectionResult.Create(null); @@ -52,7 +51,7 @@ ) { // Setup - var sectionResult = new HeightStructuresFailureMechanismSectionResult(new FailureMechanismSection("", new[] { new Point2D(0, 0) })); + var sectionResult = new HeightStructuresFailureMechanismSectionResult(new TestFailureMechanismSection()); sectionResult.AssessmentLayerOne = assessmentLayerOneResult; sectionResult.AssessmentLayerThree = (RoundedDouble) assessmentLayerThreeResult; @@ -68,7 +67,7 @@ public void Create_WithNaNLevel3Result_ReturnsEntityWithExpectedResults() { // Setup - var sectionResult = new HeightStructuresFailureMechanismSectionResult(new FailureMechanismSection("", new[] { new Point2D(0, 0) })); + var sectionResult = new HeightStructuresFailureMechanismSectionResult(new TestFailureMechanismSection()); sectionResult.AssessmentLayerThree = (RoundedDouble) double.NaN; // Call