Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StrengthStabilityLengthwiseConstructionFailureMechanismSectionResultCreateExtensionsTest.cs =================================================================== diff -u -rebad637e9483d348a5efe2fe902d56aa91bf6a31 -re0ef393f7069a18d7e160aceaf91f603dfc8c5ae --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StrengthStabilityLengthwiseConstructionFailureMechanismSectionResultCreateExtensionsTest.cs (.../StrengthStabilityLengthwiseConstructionFailureMechanismSectionResultCreateExtensionsTest.cs) (revision ebad637e9483d348a5efe2fe902d56aa91bf6a31) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StrengthStabilityLengthwiseConstructionFailureMechanismSectionResultCreateExtensionsTest.cs (.../StrengthStabilityLengthwiseConstructionFailureMechanismSectionResultCreateExtensionsTest.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.Integration.Data.StandAlone.SectionResults; namespace Application.Ringtoets.Storage.Test.Create @@ -36,7 +35,7 @@ public void Create_WithoutPersistenceRegistry_ThrowsArgumentNullException() { // Setup - var sectionResult = new StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult(new FailureMechanismSection("", new[] { new Point2D(0, 0) })); + var sectionResult = new StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult(new TestFailureMechanismSection()); // Call TestDelegate test = () => sectionResult.Create(null); @@ -52,7 +51,7 @@ ) { // Setup - var sectionResult = new StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult(new FailureMechanismSection("", new[] { new Point2D(0, 0) })); + var sectionResult = new StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult(new TestFailureMechanismSection()); sectionResult.AssessmentLayerOne = assessmentLayerOneResult; sectionResult.AssessmentLayerThree = (RoundedDouble) assessmentLayerThreeResult; @@ -68,7 +67,7 @@ public void Create_WithNaNLevel3Result_ReturnsEntityWithExpectedResults() { // Setup - var sectionResult = new StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult(new FailureMechanismSection("", new[] { new Point2D(0, 0) })); + var sectionResult = new StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult(new TestFailureMechanismSection()); sectionResult.AssessmentLayerThree = (RoundedDouble) double.NaN; // Call