Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/Views/ClosingStructuresFailureMechanismResultViewTest.cs =================================================================== diff -u -r0cf83792df9c29b3bfcfb43426d721295fb4d87e -r19311fc87ea75a0407d8cdc617cc90b8c160429c --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/Views/ClosingStructuresFailureMechanismResultViewTest.cs (.../ClosingStructuresFailureMechanismResultViewTest.cs) (revision 0cf83792df9c29b3bfcfb43426d721295fb4d87e) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/Views/ClosingStructuresFailureMechanismResultViewTest.cs (.../ClosingStructuresFailureMechanismResultViewTest.cs) (revision 19311fc87ea75a0407d8cdc617cc90b8c160429c) @@ -224,7 +224,8 @@ SimpleAssessmentResult = SimpleAssessmentResultType.None, AssessmentLayerThree = random.NextRoundedDouble() }; - var result4 = new ClosingStructuresFailureMechanismSectionResult(section4) + var result4 = new ClosingStructuresFailureMechanismSectionResult( + FailureMechanismSectionTestFactory.CreateFailureMechanismSection("Section 4")) { SimpleAssessmentResult = SimpleAssessmentResultType.AssessFurther, AssessmentLayerThree = random.NextRoundedDouble() @@ -298,12 +299,8 @@ SimpleAssessmentResultType simpleAssessmentResult) { // Given - var section = new FailureMechanismSection("Section 1", new[] - { - new Point2D(0, 0) - }); var random = new Random(21); - var result = new ClosingStructuresFailureMechanismSectionResult(section) + var result = new ClosingStructuresFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection()) { SimpleAssessmentResult = simpleAssessmentResult, AssessmentLayerThree = random.NextRoundedDouble()