Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/SoilProfile2DReaderTest.cs =================================================================== diff -u -r80f04760977eeb1f2f2781ff9600ffa4d51b7060 -r22cfdf3a1943df34a0e6cfd57c82faedfed781db --- Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/SoilProfile2DReaderTest.cs (.../SoilProfile2DReaderTest.cs) (revision 80f04760977eeb1f2f2781ff9600ffa4d51b7060) +++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/SoilProfile2DReaderTest.cs (.../SoilProfile2DReaderTest.cs) (revision 22cfdf3a1943df34a0e6cfd57c82faedfed781db) @@ -213,9 +213,8 @@ // Assert var exception = Assert.Throws(test); - string expectedMessage = new FileReaderErrorMessageBuilder(dbFile) - .WithSubject("ondergrondschematisatie 'Profile'") - .Build("Ondergrondschematisatie bevat geen geldige waarde in kolom 'IntersectionX'."); + string expectedMessage = "Het lezen van de ondergrondschematisatie 'Profile' is mislukt. " + + "Geen geldige waarde in kolom 'IntersectionX'."; Assert.AreEqual(expectedMessage, exception.Message); Assert.IsInstanceOf(exception.InnerException); }