Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/StochasticSoilModelCreateExtensionsTest.cs =================================================================== diff -u -r94242c0e8dc46889015a0cc34aee3e37786bb30a -r9dd9ba51fe935a7f309d21f0524ea79e5e28d32a --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/StochasticSoilModelCreateExtensionsTest.cs (.../StochasticSoilModelCreateExtensionsTest.cs) (revision 94242c0e8dc46889015a0cc34aee3e37786bb30a) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/StochasticSoilModelCreateExtensionsTest.cs (.../StochasticSoilModelCreateExtensionsTest.cs) (revision 9dd9ba51fe935a7f309d21f0524ea79e5e28d32a) @@ -56,7 +56,6 @@ // Setup int order = new Random(1).Next(); const string testName = "testName"; - const string testSegmentName = "testSegmentName"; var stochasticSoilModel = new StochasticSoilModel(-1, testName); var registry = new PersistenceRegistry(); @@ -66,7 +65,6 @@ // Assert Assert.IsNotNull(entity); Assert.AreEqual(testName, entity.Name); - Assert.AreEqual(testSegmentName, entity.SegmentName); Assert.AreEqual(order, entity.Order); Assert.IsEmpty(entity.StochasticSoilProfileEntities); } @@ -76,7 +74,6 @@ { // Setup const string testName = "testName"; - const string testSegmentName = "testSegmentName"; var stochasticSoilModel = new StochasticSoilModel(-1, testName); var registry = new PersistenceRegistry(); @@ -87,10 +84,6 @@ Assert.AreNotSame(testName, entity.Name, "To create stable binary representations/fingerprints, it's really important that strings are not shared."); Assert.AreEqual(testName, entity.Name); - - Assert.AreNotSame(testSegmentName, entity.SegmentName, - "To create stable binary representations/fingerprints, it's really important that strings are not shared."); - Assert.AreEqual(testSegmentName, entity.SegmentName); } [Test]