Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Commands/AssessmentSectionFromFileCommandHandlerTest.cs =================================================================== diff -u -re42bdf3dd379c46bab9212eb7b30f4754c9bc91c -r7ae9100ff4e61169edcefaeb01b72d492431742f --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Commands/AssessmentSectionFromFileCommandHandlerTest.cs (.../AssessmentSectionFromFileCommandHandlerTest.cs) (revision e42bdf3dd379c46bab9212eb7b30f4754c9bc91c) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Commands/AssessmentSectionFromFileCommandHandlerTest.cs (.../AssessmentSectionFromFileCommandHandlerTest.cs) (revision 7ae9100ff4e61169edcefaeb01b72d492431742f) @@ -545,23 +545,37 @@ private static AssessmentSection TestAssessmentSection2_1() { + var referenceLine = new ReferenceLine(); + referenceLine.SetGeometry(new[] + { + new Point2D(155556.9191, 464341.1281), + new Point2D(155521.4761, 464360.7401) + }); + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dune) { Id = "2-1", Name = "Traject 2-1", FailureMechanismContribution = { Norm = 300 + }, + ReferenceLine = referenceLine, + GrassCoverErosionInwards = + { + GeneralInput = + { + N = 3 + } + }, + HeightStructures = + { + GeneralInput = + { + N = 3 + } } }; - assessmentSection.ReferenceLine = new ReferenceLine(); - assessmentSection.ReferenceLine.SetGeometry(new[] - { - new Point2D(155556.9191, 464341.1281), - new Point2D(155521.4761, 464360.7401) - }); - assessmentSection.GrassCoverErosionInwards.GeneralInput.N = 3; - assessmentSection.HeightStructures.GeneralInput.N = 3; return assessmentSection; }