Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Service.Test/ClosingStructureDataSynchronizationServiceTest.cs =================================================================== diff -u -red4b032b9903f394deb9691c2c39a9f2122ab0f5 -reabf1a800431a23b06c8d81dfbf0f46a71bb659b --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Service.Test/ClosingStructureDataSynchronizationServiceTest.cs (.../ClosingStructureDataSynchronizationServiceTest.cs) (revision ed4b032b9903f394deb9691c2c39a9f2122ab0f5) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Service.Test/ClosingStructureDataSynchronizationServiceTest.cs (.../ClosingStructureDataSynchronizationServiceTest.cs) (revision eabf1a800431a23b06c8d81dfbf0f46a71bb659b) @@ -383,8 +383,8 @@ new Point2D(2, 0), new Point2D(4, 0) }); - var structure1 = new TestClosingStructure(new Point2D(1, 0)); - var structure2 = new TestClosingStructure(new Point2D(3, 0)); + var structure1 = new TestClosingStructure(new Point2D(1, 0), "structure1"); + var structure2 = new TestClosingStructure(new Point2D(3, 0), "structure2"); var profile = new TestForeshoreProfile(); StructuresCalculation calculation1 = new TestClosingStructuresCalculation { @@ -413,11 +413,6 @@ }; var failureMechanism = new ClosingStructuresFailureMechanism { - ClosingStructures = - { - structure1, - structure2 - }, CalculationsGroup = { Children = @@ -434,6 +429,11 @@ } } }; + failureMechanism.ClosingStructures.AddRange(new[] + { + structure1, + structure2 + }, "some path"); failureMechanism.ForeshoreProfiles.AddRange(new[] { profile