Index: Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/TreeNodeInfos/PipingStochasticSoilModelCollectionContextTreeNodeInfoTest.cs =================================================================== diff -u -r6cf604a94300560817de70fd42d09baa5b22c3a6 -r57bc6a475f6cdd57b1a0ebf70cdf533014afd1ff --- Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/TreeNodeInfos/PipingStochasticSoilModelCollectionContextTreeNodeInfoTest.cs (.../PipingStochasticSoilModelCollectionContextTreeNodeInfoTest.cs) (revision 6cf604a94300560817de70fd42d09baa5b22c3a6) +++ Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/TreeNodeInfos/PipingStochasticSoilModelCollectionContextTreeNodeInfoTest.cs (.../PipingStochasticSoilModelCollectionContextTreeNodeInfoTest.cs) (revision 57bc6a475f6cdd57b1a0ebf70cdf533014afd1ff) @@ -31,6 +31,7 @@ using Ringtoets.Common.Data.AssessmentSection; using Ringtoets.Piping.Data; using Ringtoets.Piping.Data.SoilProfile; +using Ringtoets.Piping.Data.TestUtil; using Ringtoets.Piping.Forms.PresentationObjects; using Ringtoets.Piping.Primitives.TestUtil; using RingtoetsCommonFormsResources = Ringtoets.Common.Forms.Properties.Resources; @@ -144,7 +145,7 @@ var failureMechanism = new PipingFailureMechanism(); failureMechanism.StochasticSoilModels.AddRange(new[] { - new PipingStochasticSoilModel("Name") + PipingStochasticSoilModelTestFactory.CreatePipingStochasticSoilModel() }, "path"); var stochasticSoilModelCollectionContext = new PipingStochasticSoilModelCollectionContext( @@ -166,14 +167,11 @@ var assessmentSection = mocks.Stub(); mocks.ReplayAll(); - var stochasticSoilModel = new PipingStochasticSoilModel("Name") + PipingStochasticSoilModel stochasticSoilModel = PipingStochasticSoilModelTestFactory.CreatePipingStochasticSoilModel("Name", new[] { - StochasticSoilProfiles = - { - new PipingStochasticSoilProfile(0.5, PipingSoilProfileTestFactory.CreatePipingSoilProfile()), - new PipingStochasticSoilProfile(0.5, PipingSoilProfileTestFactory.CreatePipingSoilProfile()) - } - }; + new PipingStochasticSoilProfile(0.5, PipingSoilProfileTestFactory.CreatePipingSoilProfile()), + new PipingStochasticSoilProfile(0.5, PipingSoilProfileTestFactory.CreatePipingSoilProfile()) + }); var failureMechanism = new PipingFailureMechanism(); var stochasticSoilModelCollectionContext = new PipingStochasticSoilModelCollectionContext(