Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/RingtoetsMapDataFeaturesFactoryTest.cs =================================================================== diff -u -r0d6ba13ff44f0e1c5c62fdfd16e97c0851f2e44d -ra2eb198a93d224a701f3fa4d6a68023e22ebcd79 --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/RingtoetsMapDataFeaturesFactoryTest.cs (.../RingtoetsMapDataFeaturesFactoryTest.cs) (revision 0d6ba13ff44f0e1c5c62fdfd16e97c0851f2e44d) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/RingtoetsMapDataFeaturesFactoryTest.cs (.../RingtoetsMapDataFeaturesFactoryTest.cs) (revision a2eb198a93d224a701f3fa4d6a68023e22ebcd79) @@ -711,7 +711,7 @@ } [Test] - public void CreateForeshoreProfilesFeatures_WithForeshoreProfiles_ReturnsCollectionWithForeshoreProfiles() + public void CreateForeshoreProfilesFeatures_WithForeshoreProfiles_ReturnsCollectionForeshoreProfilesWithGeometry() { // Setup var pointA = new Point2D(1.2, 2.3); @@ -740,9 +740,13 @@ { Name = "A" }), - new ForeshoreProfile(new Point2D(2, 1), pointsTwo, null, new ForeshoreProfile.ConstructionProperties + new ForeshoreProfile(new Point2D(3, 3), Enumerable.Empty(), null, new ForeshoreProfile.ConstructionProperties() { Name = "B" + }), + new ForeshoreProfile(new Point2D(2, 1), pointsTwo, null, new ForeshoreProfile.ConstructionProperties + { + Name = "C" }) }; @@ -773,7 +777,7 @@ Assert.AreEqual(expectedNumberOfMetaDataOptions, features[0].MetaData.Count); Assert.AreEqual(expectedNumberOfMetaDataOptions, features[1].MetaData.Count); Assert.AreEqual(foreshoreProfiles[0].Name, features[0].MetaData["Naam"]); - Assert.AreEqual(foreshoreProfiles[1].Name, features[1].MetaData["Naam"]); + Assert.AreEqual(foreshoreProfiles[2].Name, features[1].MetaData["Naam"]); } [Test]