Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsStochasticSoilModelPropertiesTest.cs =================================================================== diff -u -ra20f5008f39cfa4fd6f94572fd07a011f76609f4 -rb13759ad077f9e2b4104de000b5bdeafa9abe358 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsStochasticSoilModelPropertiesTest.cs (.../MacroStabilityInwardsStochasticSoilModelPropertiesTest.cs) (revision a20f5008f39cfa4fd6f94572fd07a011f76609f4) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsStochasticSoilModelPropertiesTest.cs (.../MacroStabilityInwardsStochasticSoilModelPropertiesTest.cs) (revision b13759ad077f9e2b4104de000b5bdeafa9abe358) @@ -74,17 +74,18 @@ public void GetProperties_WithData_ReturnExpectedValues() { // Setup - var stochasticSoilModel = new MacroStabilityInwardsStochasticSoilModel("name", new[] - { - new Point2D(1.0, 2.0) - }); - var soilProfile = new MacroStabilityInwardsSoilProfile1D("MacroStabilityInwardsSoilProfile", 0, new List { new MacroStabilityInwardsSoilLayer1D(10) }); var stochasticSoilProfile = new MacroStabilityInwardsStochasticSoilProfile(1.0, soilProfile); - stochasticSoilModel.StochasticSoilProfiles.Add(stochasticSoilProfile); + var stochasticSoilModel = new MacroStabilityInwardsStochasticSoilModel("name", new[] + { + new Point2D(1.0, 2.0) + }, new[] + { + stochasticSoilProfile + }); // Call var properties = new MacroStabilityInwardsStochasticSoilModelProperties(stochasticSoilModel);