Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/StochasticSoilModelCreateExtensionsTest.cs =================================================================== diff -u -rc312034c7478db99d3c2ef96b1c351df806e8d21 -raf81664b5c0cb1af94c61530adbb6cd24fd5229f --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/StochasticSoilModelCreateExtensionsTest.cs (.../StochasticSoilModelCreateExtensionsTest.cs) (revision c312034c7478db99d3c2ef96b1c351df806e8d21) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/StochasticSoilModelCreateExtensionsTest.cs (.../StochasticSoilModelCreateExtensionsTest.cs) (revision af81664b5c0cb1af94c61530adbb6cd24fd5229f) @@ -21,10 +21,10 @@ using System; -using Application.Ringtoets.Storage.BinaryConverters; using Application.Ringtoets.Storage.Create; using Application.Ringtoets.Storage.Create.Piping; using Application.Ringtoets.Storage.DbContext; +using Application.Ringtoets.Storage.Serializers; using Core.Common.Base.Geometry; @@ -137,8 +137,8 @@ // Assert Assert.IsNotNull(entity); - var expectedBinaryData = new Point2DBinaryConverter().ToBytes(stochasticSoilModel.Geometry); - CollectionAssert.AreEqual(expectedBinaryData, entity.StochasticSoilModelSegmentPointData); + string expectedXml = new Point2DXmlSerializer().ToXml(stochasticSoilModel.Geometry); + Assert.AreEqual(expectedXml, entity.StochasticSoilModelSegmentPointXml); } [Test]