Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/PipingStochasticSoilModelCreateExtensionsTest.cs =================================================================== diff -u -ra0e52fbfb95d4930abf6e828fc87e6f4834fb55a -rb018578a2c719c00258c5a32a571c1dff77d2242 --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/PipingStochasticSoilModelCreateExtensionsTest.cs (.../PipingStochasticSoilModelCreateExtensionsTest.cs) (revision a0e52fbfb95d4930abf6e828fc87e6f4834fb55a) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/PipingStochasticSoilModelCreateExtensionsTest.cs (.../PipingStochasticSoilModelCreateExtensionsTest.cs) (revision b018578a2c719c00258c5a32a571c1dff77d2242) @@ -20,6 +20,7 @@ // All rights reserved. using System; +using System.Linq; using Application.Ringtoets.Storage.Create; using Application.Ringtoets.Storage.Create.Piping; using Application.Ringtoets.Storage.DbContext; @@ -110,8 +111,8 @@ { StochasticSoilProfiles = { - new PipingStochasticSoilProfile(0.5, PipingSoilProfileTestFactory.CreatePipingSoilProfile()), - new PipingStochasticSoilProfile(0.5, PipingSoilProfileTestFactory.CreatePipingSoilProfile()) + new PipingStochasticSoilProfile(0.6, PipingSoilProfileTestFactory.CreatePipingSoilProfile()), + new PipingStochasticSoilProfile(0.4, PipingSoilProfileTestFactory.CreatePipingSoilProfile()) } }; var registry = new PersistenceRegistry(); @@ -122,6 +123,11 @@ // Assert Assert.IsNotNull(entity); Assert.AreEqual(2, entity.PipingStochasticSoilProfileEntities.Count); + + PipingStochasticSoilProfileEntity stochastEntity = entity.PipingStochasticSoilProfileEntities.First(); + Assert.AreEqual(stochasticSoilModel.StochasticSoilProfiles.First().Probability, stochastEntity.Probability); + Assert.IsNotNull(stochastEntity.PipingSoilProfileEntity); + Assert.AreEqual(0, entity.MacroStabilityInwardsStochasticSoilProfileEntities.Count); } Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/PipingStochasticSoilProfileCreateExtensionsTest.cs =================================================================== diff -u -rb0b8bffcbb871a42e6c8b282fe20858d6a738dbc -rb018578a2c719c00258c5a32a571c1dff77d2242 --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/PipingStochasticSoilProfileCreateExtensionsTest.cs (.../PipingStochasticSoilProfileCreateExtensionsTest.cs) (revision b0b8bffcbb871a42e6c8b282fe20858d6a738dbc) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/PipingStochasticSoilProfileCreateExtensionsTest.cs (.../PipingStochasticSoilProfileCreateExtensionsTest.cs) (revision b018578a2c719c00258c5a32a571c1dff77d2242) @@ -63,6 +63,7 @@ // Assert Assert.IsNotNull(entity); Assert.AreEqual(probability, entity.Probability); + Assert.IsNotNull(entity.PipingSoilProfileEntity); Assert.AreEqual(order, entity.Order); } Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/PipingSurfaceLineCreateExtensionsTest.cs =================================================================== diff -u -re08b5ce64ea11d4f631c96acf8c7bf7f33865f78 -rb018578a2c719c00258c5a32a571c1dff77d2242 --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/PipingSurfaceLineCreateExtensionsTest.cs (.../PipingSurfaceLineCreateExtensionsTest.cs) (revision e08b5ce64ea11d4f631c96acf8c7bf7f33865f78) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/PipingSurfaceLineCreateExtensionsTest.cs (.../PipingSurfaceLineCreateExtensionsTest.cs) (revision b018578a2c719c00258c5a32a571c1dff77d2242) @@ -274,8 +274,6 @@ CollectionAssert.Contains(characteristicPointTypeValues, (byte) PipingCharacteristicPointType.BottomDitchDikeSide); CollectionAssert.Contains(characteristicPointTypeValues, (byte) PipingCharacteristicPointType.BottomDitchPolderSide); CollectionAssert.Contains(characteristicPointTypeValues, (byte) PipingCharacteristicPointType.DitchPolderSide); - - Assert.IsNull(entity.FailureMechanismEntity); } [Test]