Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.Test/SoilProfile/MacroStabilityInwardsStochasticSoilModelTest.cs =================================================================== diff -u -r0ca80ea0128c50442c9ab707f715125d65cf7fa0 -r069fd5204ede2f98296a58237a203b3090cd9d89 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.Test/SoilProfile/MacroStabilityInwardsStochasticSoilModelTest.cs (.../MacroStabilityInwardsStochasticSoilModelTest.cs) (revision 0ca80ea0128c50442c9ab707f715125d65cf7fa0) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.Test/SoilProfile/MacroStabilityInwardsStochasticSoilModelTest.cs (.../MacroStabilityInwardsStochasticSoilModelTest.cs) (revision 069fd5204ede2f98296a58237a203b3090cd9d89) @@ -305,12 +305,14 @@ MacroStabilityInwardsStochasticSoilModel otherModel = CreateEmptyModel(); otherModel.StochasticSoilProfiles.Add(addedStochasticSoilProfile); - MacroStabilityInwardsSoilProfile1D soilProfileTwo = + MacroStabilityInwardsSoilProfile1D existingSoilProfile = MacroStabilityInwardsSoilProfile1DTestFactory.CreateMacroStabilityInwardsSoilProfile1D(); - var existingStochastSoilProfile = new MacroStabilityInwardsStochasticSoilProfile(0.2, soilProfileTwo); + var existingStochasticSoilProfileOne = new MacroStabilityInwardsStochasticSoilProfile(0.2, existingSoilProfile); + var existingStochasticSoilProfileTwo = new MacroStabilityInwardsStochasticSoilProfile(0.3, existingSoilProfile); + MacroStabilityInwardsStochasticSoilModel model = CreateEmptyModel(); - model.StochasticSoilProfiles.Add(existingStochastSoilProfile); - model.StochasticSoilProfiles.Add(existingStochastSoilProfile); + model.StochasticSoilProfiles.Add(existingStochasticSoilProfileOne); + model.StochasticSoilProfiles.Add(existingStochasticSoilProfileTwo); // Call TestDelegate call = () => model.Update(otherModel); @@ -324,8 +326,8 @@ Assert.AreEqual(2, model.StochasticSoilProfiles.Count); CollectionAssert.AreEqual(new[] { - existingStochastSoilProfile, - existingStochastSoilProfile + existingStochasticSoilProfileOne, + existingStochasticSoilProfileTwo }, model.StochasticSoilProfiles); }