Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacroStabilityInwards/MacroStabilityInwardsSoilProfile1DCreateExtensionsTest.cs =================================================================== diff -u -rfe26eb5e452792f9c2ebd62a737a35642210d2f3 -r1ba21a629ef9ee35b003e5f5e66f26f5b8bc7766 --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacroStabilityInwards/MacroStabilityInwardsSoilProfile1DCreateExtensionsTest.cs (.../MacroStabilityInwardsSoilProfile1DCreateExtensionsTest.cs) (revision fe26eb5e452792f9c2ebd62a737a35642210d2f3) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacroStabilityInwards/MacroStabilityInwardsSoilProfile1DCreateExtensionsTest.cs (.../MacroStabilityInwardsSoilProfile1DCreateExtensionsTest.cs) (revision 1ba21a629ef9ee35b003e5f5e66f26f5b8bc7766) @@ -81,7 +81,7 @@ // Assert Assert.IsNotNull(entity); Assert.AreEqual(soilProfile.Bottom, entity.Bottom); - Assert.AreEqual(2, entity.MacroStabilityInwardsSoilLayerOneDEntities.Count); + Assert.AreEqual(soilProfile.Layers.Count(), entity.MacroStabilityInwardsSoilLayerOneDEntities.Count); MacroStabilityInwardsSoilLayerOneDEntity firstLayerEntity = entity.MacroStabilityInwardsSoilLayerOneDEntities.ElementAt(0); Assert.AreEqual(soilProfile.Layers.ElementAt(0).Top, firstLayerEntity.Top);