Index: Ringtoets/Common/test/Ringtoets.Common.Forms.TestUtil/MapDataTestHelper.cs =================================================================== diff -u -rf6e74516582b0e5c854526d50a90db1216417d9d -rd168cfa3e426f88b3ae1318268afacc7675c6fa6 --- Ringtoets/Common/test/Ringtoets.Common.Forms.TestUtil/MapDataTestHelper.cs (.../MapDataTestHelper.cs) (revision f6e74516582b0e5c854526d50a90db1216417d9d) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.TestUtil/MapDataTestHelper.cs (.../MapDataTestHelper.cs) (revision d168cfa3e426f88b3ae1318268afacc7675c6fa6) @@ -31,7 +31,6 @@ using Ringtoets.Common.Data.AssessmentSection; using Ringtoets.Common.Data.DikeProfiles; using Ringtoets.Common.Data.FailureMechanism; -using Ringtoets.Common.Data.Hydraulics; namespace Ringtoets.Common.Forms.TestUtil { @@ -72,33 +71,6 @@ } /// - /// Asserts whether the contains the data that is representative for the . - /// - /// The hydraulic boundary locations that contain the original data. - /// The that needs to be asserted. - /// Thrown when: - /// - /// is not ; - /// the name of the is not "Hydraulische randvoorwaarden"; - /// the number of hydraulic boundary locations and features in are not the same; - /// the point of a hydraulic boundary location and the geometry of a corresponding feature are not the same. - /// - /// - public static void AssertHydraulicBoundaryLocationsMapData(IEnumerable hydraulicBoundaryLocations, MapData mapData) - { - Assert.IsInstanceOf(mapData); - Assert.AreEqual("Hydraulische randvoorwaarden", mapData.Name); - - var hydraulicLocationsMapData = (MapPointData) mapData; - - HydraulicBoundaryLocation[] hydraulicBoundaryLocationsArray = hydraulicBoundaryLocations.ToArray(); - - Assert.AreEqual(hydraulicBoundaryLocationsArray.Length, hydraulicLocationsMapData.Features.Count()); - CollectionAssert.AreEqual(hydraulicBoundaryLocationsArray.Select(hrp => hrp.Location), - hydraulicLocationsMapData.Features.SelectMany(f => f.MapGeometries.First().PointCollections.First())); - } - - /// /// Asserts whether the contains the data that is representative for the data of /// hydraulic boundary locations and calculations in . ///