Index: Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/Assembly/AssessmentSectionAssemblyFactoryTest.cs =================================================================== diff -u -r2a81f01756e227d5ce93717b21b87e8a5cd5fcbb -r2d600c4298c8c2529ca85e789bc25401efb069f2 --- Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/Assembly/AssessmentSectionAssemblyFactoryTest.cs (.../AssessmentSectionAssemblyFactoryTest.cs) (revision 2a81f01756e227d5ce93717b21b87e8a5cd5fcbb) +++ Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/Assembly/AssessmentSectionAssemblyFactoryTest.cs (.../AssessmentSectionAssemblyFactoryTest.cs) (revision 2d600c4298c8c2529ca85e789bc25401efb069f2) @@ -860,7 +860,6 @@ { // Given AssessmentSection assessmentSection = CreateAssessmentSection(); - assessmentSection.ReferenceLine = new ReferenceLine(); PipingFailureMechanism failureMechanism = assessmentSection.Piping; FailureMechanismTestHelper.AddSections(failureMechanism, 1); @@ -886,7 +885,6 @@ { // Given AssessmentSection assessmentSection = CreateAssessmentSection(); - assessmentSection.ReferenceLine = new ReferenceLine(); PipingFailureMechanism failureMechanism = assessmentSection.Piping; FailureMechanismTestHelper.AddSections(failureMechanism, 1); Index: Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/AssessmentSectionTest.cs =================================================================== diff -u -r15cde3d4678f9a7371c2ee94e45387c941f03934 -r2d600c4298c8c2529ca85e789bc25401efb069f2 --- Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/AssessmentSectionTest.cs (.../AssessmentSectionTest.cs) (revision 15cde3d4678f9a7371c2ee94e45387c941f03934) +++ Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/AssessmentSectionTest.cs (.../AssessmentSectionTest.cs) (revision 2d600c4298c8c2529ca85e789bc25401efb069f2) @@ -351,22 +351,6 @@ } [Test] - public void ReferenceLine_SetNewValue_GetNewValue() - { - // Setup - var random = new Random(21); - var assessmentSection = new AssessmentSection(random.NextEnumValue()); - - var referenceLine = new ReferenceLine(); - - // Call - assessmentSection.ReferenceLine = referenceLine; - - // Assert - Assert.AreSame(referenceLine, assessmentSection.ReferenceLine); - } - - [Test] public void SetHydraulicBoundaryLocationCalculations_HydraulicBoundaryLocationsNull_ThrowsArgumentNullException() { // Setup Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Commands/AssessmentSectionFromFileCommandHandlerTest.cs =================================================================== diff -u -r7e64ee0d8b9838969c18df00e56636b2a463e44c -r2d600c4298c8c2529ca85e789bc25401efb069f2 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Commands/AssessmentSectionFromFileCommandHandlerTest.cs (.../AssessmentSectionFromFileCommandHandlerTest.cs) (revision 7e64ee0d8b9838969c18df00e56636b2a463e44c) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Commands/AssessmentSectionFromFileCommandHandlerTest.cs (.../AssessmentSectionFromFileCommandHandlerTest.cs) (revision 2d600c4298c8c2529ca85e789bc25401efb069f2) @@ -535,7 +535,6 @@ assessmentSection.GrassCoverErosionInwards.GeneralInput.N = (RoundedDouble) 2.0; assessmentSection.GrassCoverErosionOutwards.GeneralInput.N = (RoundedDouble) 2.0; assessmentSection.HeightStructures.GeneralInput.N = (RoundedDouble) 2.0; - assessmentSection.ReferenceLine = new ReferenceLine(); assessmentSection.ReferenceLine.SetGeometry(new[] { new Point2D(160679.9250, 475072.583), @@ -547,13 +546,6 @@ 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, 1.0 / 100, 1.0 / 300) @@ -564,7 +556,6 @@ { NormativeNorm = NormType.Signaling }, - ReferenceLine = referenceLine, GrassCoverErosionInwards = { GeneralInput = @@ -588,6 +579,12 @@ } }; + assessmentSection.ReferenceLine.SetGeometry(new[] + { + new Point2D(155556.9191, 464341.1281), + new Point2D(155521.4761, 464360.7401) + }); + return assessmentSection; } @@ -602,8 +599,7 @@ FailureMechanismContribution = { NormativeNorm = NormType.Signaling - }, - ReferenceLine = new ReferenceLine() + } }; assessmentSection.ReferenceLine.SetGeometry(new[] {