Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.TestUtil/SoilProfile/MacroStabilityInwardsSoilLayer2DTestFactory.cs =================================================================== diff -u -ra07b01c421d15a0a1e4933e3967ac1f25d30eccc -rf6dd19ee061fc2754d81eb3677c26fbdb504fc49 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.TestUtil/SoilProfile/MacroStabilityInwardsSoilLayer2DTestFactory.cs (.../MacroStabilityInwardsSoilLayer2DTestFactory.cs) (revision a07b01c421d15a0a1e4933e3967ac1f25d30eccc) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.TestUtil/SoilProfile/MacroStabilityInwardsSoilLayer2DTestFactory.cs (.../MacroStabilityInwardsSoilLayer2DTestFactory.cs) (revision f6dd19ee061fc2754d81eb3677c26fbdb504fc49) @@ -19,6 +19,7 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using System.Collections.Generic; using Core.Common.Base.Geometry; using Ringtoets.MacroStabilityInwards.Data.SoilProfile; using Ringtoets.MacroStabilityInwards.Primitives; @@ -37,11 +38,23 @@ /// The created . public static MacroStabilityInwardsSoilLayer2D CreateMacroStabilityInwardsSoilLayer2D() { + return CreateMacroStabilityInwardsSoilLayer2D(new IMacroStabilityInwardsSoilLayer2D[0]); + } + + /// + /// Creates a new instance of . + /// + /// The nested . + /// The created . + public static MacroStabilityInwardsSoilLayer2D CreateMacroStabilityInwardsSoilLayer2D(IEnumerable nestedLayers) + { return new MacroStabilityInwardsSoilLayer2D(new Ring(new[] - { - new Point2D(0, 0), - new Point2D(1, 1) - }), new Ring[0]); + { + new Point2D(0, 0), + new Point2D(1, 1) + }), new Ring[0], + new MacroStabilityInwardsSoilLayerData(), + nestedLayers); } } } \ No newline at end of file