Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/SoilProfile2DReaderTest.cs =================================================================== diff -u -r069fd5204ede2f98296a58237a203b3090cd9d89 -r9ea64fffa7ea64307fe446351577cbc3d6f4c220 --- Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/SoilProfile2DReaderTest.cs (.../SoilProfile2DReaderTest.cs) (revision 069fd5204ede2f98296a58237a203b3090cd9d89) +++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/SoilProfile2DReaderTest.cs (.../SoilProfile2DReaderTest.cs) (revision 9ea64fffa7ea64307fe446351577cbc3d6f4c220) @@ -707,7 +707,7 @@ string dbFile = Path.Combine(testDataPath, "2dProfilesWithSoilLayersUnparsableValues.soil"); var readProfiles = new List(); - SoilProfileReadException expectedException = null; + SoilProfileReadException actualException = null; using (var reader = new SoilProfile2DReader(dbFile)) { reader.Initialize(); @@ -721,7 +721,7 @@ } catch (SoilProfileReadException e) { - expectedException = e; + actualException = e; } } @@ -730,8 +730,8 @@ Assert.AreEqual(2, readProfiles.Count); } - Assert.IsNotNull(expectedException); - Assert.AreEqual("InvalidProfile", expectedException.ProfileName); + Assert.IsNotNull(actualException); + Assert.AreEqual("InvalidProfile", actualException.ProfileName); CollectionAssert.AreEqual(new[] {