Index: Ringtoets/Common/test/Ringtoets.Common.Forms.TestUtil.Test/MapDataTestHelperTest.cs =================================================================== diff -u -r3b88fbc1cddd141a78dd4ffc2c704c6552e399b2 -r5ef0531f6fb4e9003bd9c6bf647504d748c188c9 --- Ringtoets/Common/test/Ringtoets.Common.Forms.TestUtil.Test/MapDataTestHelperTest.cs (.../MapDataTestHelperTest.cs) (revision 3b88fbc1cddd141a78dd4ffc2c704c6552e399b2) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.TestUtil.Test/MapDataTestHelperTest.cs (.../MapDataTestHelperTest.cs) (revision 5ef0531f6fb4e9003bd9c6bf647504d748c188c9) @@ -965,7 +965,7 @@ } [Test] - public void AssertForeshoreProfilesMapData_ForeshoreProfileLengthNotSameAsMapDataFeaturesLength_ThrowAssertionException() + public void AssertForeshoreProfilesMapData_MapDataFeaturesLengthNotSameAsExpectedForeshoreProfilesLength_ThrowsAssertionException() { // Setup var mapData = new MapLineData("Voorlandprofielen") Index: Ringtoets/Common/test/Ringtoets.Common.Forms.TestUtil/MapDataTestHelper.cs =================================================================== diff -u -r3b88fbc1cddd141a78dd4ffc2c704c6552e399b2 -r5ef0531f6fb4e9003bd9c6bf647504d748c188c9 --- Ringtoets/Common/test/Ringtoets.Common.Forms.TestUtil/MapDataTestHelper.cs (.../MapDataTestHelper.cs) (revision 3b88fbc1cddd141a78dd4ffc2c704c6552e399b2) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.TestUtil/MapDataTestHelper.cs (.../MapDataTestHelper.cs) (revision 5ef0531f6fb4e9003bd9c6bf647504d748c188c9) @@ -55,6 +55,7 @@ { Assert.IsInstanceOf(mapData); Assert.AreEqual("Vakindeling", mapData.Name); + MapLineData sectionsMapLinesData = (MapLineData) mapData; MapFeature[] sectionMapLinesFeatures = sectionsMapLinesData.Features.ToArray(); FailureMechanismSection[] sectionsArray = sections.ToArray(); @@ -85,6 +86,7 @@ { Assert.IsInstanceOf(mapData); Assert.AreEqual("Hydraulische randvoorwaarden", mapData.Name); + MapPointData hydraulicLocationsMapData = (MapPointData) mapData; if (hydraulicBoundaryLocations == null) { @@ -117,7 +119,8 @@ { Assert.IsInstanceOf(mapData); Assert.AreEqual("Referentielijn", mapData.Name); - var referenceLineData = (MapLineData)mapData; + + var referenceLineData = (MapLineData) mapData; if (referenceLine == null) { CollectionAssert.IsEmpty(referenceLineData.Features); @@ -145,9 +148,10 @@ { Assert.IsInstanceOf(mapData); Assert.AreEqual("Vakindeling (startpunten)", mapData.Name); - var sectionsStartPointData = (MapPointData)mapData; + + var sectionsStartPointData = (MapPointData) mapData; Assert.AreEqual(1, sectionsStartPointData.Features.Length); - CollectionAssert.AreEqual(sections.Select(s => s.GetStart()), sectionsStartPointData.Features.First().MapGeometries.First().PointCollections.First()); + CollectionAssert.AreEqual(sections.Select(s => s.GetStart()), sectionsStartPointData.Features.First().MapGeometries.First().PointCollections.First()); } /// @@ -166,7 +170,8 @@ { Assert.IsInstanceOf(mapData); Assert.AreEqual("Vakindeling (eindpunten)", mapData.Name); - var sectionsEndPointData = (MapPointData)mapData; + + var sectionsEndPointData = (MapPointData) mapData; Assert.AreEqual(1, sectionsEndPointData.Features.Length); CollectionAssert.AreEqual(sections.Select(s => s.GetLast()), sectionsEndPointData.Features.First().MapGeometries.First().PointCollections.First()); } @@ -181,14 +186,14 @@ /// is not . /// The name of the is not Voorlandprofielen. /// The amount of features in is not equal to the length of the . - /// The geometries of the features in is not equal to the expected geometry of the . + /// The geometries of the features in are not equal to the expected geometry of the . /// public static void AssertForeshoreProfilesMapData(IEnumerable foreshoreProfiles, MapData mapData) { Assert.IsInstanceOf(mapData); Assert.AreEqual("Voorlandprofielen", mapData.Name); - MapLineData foreshoreProfilesData = (MapLineData)mapData; + MapLineData foreshoreProfilesData = (MapLineData) mapData; ForeshoreProfile[] foreshoreProfileArray = foreshoreProfiles.ToArray(); Assert.AreEqual(foreshoreProfileArray.Length, foreshoreProfilesData.Features.Length);