Index: Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectTestHelper.cs =================================================================== diff -u -rc1594afa56f02899bd122fc4fd4ccf4d76b236b7 -red4b032b9903f394deb9691c2c39a9f2122ab0f5 --- Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectTestHelper.cs (.../RingtoetsProjectTestHelper.cs) (revision c1594afa56f02899bd122fc4fd4ccf4d76b236b7) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectTestHelper.cs (.../RingtoetsProjectTestHelper.cs) (revision ed4b032b9903f394deb9691c2c39a9f2122ab0f5) @@ -274,25 +274,33 @@ })); } - private static void AddForeshoreProfiles(ObservableList foreshoreProfiles) + private static void AddForeshoreProfiles(ForeshoreProfileCollection foreshoreProfiles) { - foreshoreProfiles.Add(new ForeshoreProfile( - new Point2D(2, 5), new[] - { - new Point2D(1, 6), - new Point2D(8, 5) - }, new BreakWater(BreakWaterType.Caisson, 2.5), new ForeshoreProfile.ConstructionProperties - { - Id = "fpid", - Name = "FP", - Orientation = 95.5, - X0 = 22.1 - })); - foreshoreProfiles.Add(new ForeshoreProfile( - new Point2D(2, 5), Enumerable.Empty(), null, new ForeshoreProfile.ConstructionProperties - { - Id = "fpid" - })); + var foreshoreProfile1 = new ForeshoreProfile( + new Point2D(2, 5), new[] + { + new Point2D(1, 6), + new Point2D(8, 5) + }, new BreakWater(BreakWaterType.Caisson, 2.5), + new ForeshoreProfile.ConstructionProperties + { + Id = "fpid", + Name = "FP", + Orientation = 95.5, + X0 = 22.1 + }); + var foreshoreProfile2 = new ForeshoreProfile( + new Point2D(2, 5), Enumerable.Empty(), null, + new ForeshoreProfile.ConstructionProperties + { + Id = "fpid2" + }); + + foreshoreProfiles.AddRange(new[] + { + foreshoreProfile1, + foreshoreProfile2 + }, "some/path/to/foreshoreprofile"); } private static ReferenceLine GetReferenceLine()