Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/SoilProfile/PipingStochasticSoilProfileTest.cs =================================================================== diff -u -rad0f4a7a0f8b9f065da77eda1a450ac3696b8f7f -r2e94a93cca7fbb97675bff67cca2329e8b0b7505 --- Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/SoilProfile/PipingStochasticSoilProfileTest.cs (.../PipingStochasticSoilProfileTest.cs) (revision ad0f4a7a0f8b9f065da77eda1a450ac3696b8f7f) +++ Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/SoilProfile/PipingStochasticSoilProfileTest.cs (.../PipingStochasticSoilProfileTest.cs) (revision 2e94a93cca7fbb97675bff67cca2329e8b0b7505) @@ -116,7 +116,7 @@ { // Setup const double probability = 1.0; - var profile = new TestPipingSoilProfile(); + PipingSoilProfile profile = PipingSoilProfileTestFactory.CreatePipingSoilProfile(); var stochasticProfile = new PipingStochasticSoilProfile(probability, profile); var otherStochasticProfile = new PipingStochasticSoilProfile(probability, profile); @@ -194,12 +194,15 @@ private static TestCaseData[] PipingStochasticProfileUnequalCombinations() { const string profileName = "newProfile"; - var stochasticSoilProfileA = new PipingStochasticSoilProfile(1.0, new TestPipingSoilProfile( - profileName, SoilProfileType.SoilProfile1D)); - var stochasticSoilProfileB = new PipingStochasticSoilProfile(0.5, new TestPipingSoilProfile( - profileName, SoilProfileType.SoilProfile1D)); - var stochasticSoilProfileC = new PipingStochasticSoilProfile(1.0, new TestPipingSoilProfile( - profileName, SoilProfileType.SoilProfile2D)); + var stochasticSoilProfileA = new PipingStochasticSoilProfile( + 1.0, PipingSoilProfileTestFactory.CreatePipingSoilProfile(profileName, + SoilProfileType.SoilProfile1D)); + var stochasticSoilProfileB = new PipingStochasticSoilProfile( + 0.5, PipingSoilProfileTestFactory.CreatePipingSoilProfile(profileName, + SoilProfileType.SoilProfile1D)); + var stochasticSoilProfileC = new PipingStochasticSoilProfile( + 1.0, PipingSoilProfileTestFactory.CreatePipingSoilProfile(profileName, + SoilProfileType.SoilProfile2D)); return new[] {