Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/PreconsolidationStressReaderTest.cs =================================================================== diff -u -r069fd5204ede2f98296a58237a203b3090cd9d89 -r9ea64fffa7ea64307fe446351577cbc3d6f4c220 --- Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/PreconsolidationStressReaderTest.cs (.../PreconsolidationStressReaderTest.cs) (revision 069fd5204ede2f98296a58237a203b3090cd9d89) +++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/PreconsolidationStressReaderTest.cs (.../PreconsolidationStressReaderTest.cs) (revision 9ea64fffa7ea64307fe446351577cbc3d6f4c220) @@ -190,7 +190,7 @@ } [Test] - public void ReadSoilProfile_EmptyFile_ReturnsEmptyPreconsolidationStressCollection() + public void ReadPreconsolidationStresses_EmptyFile_ReturnsEmptyPreconsolidationStressCollection() { // Setup string dbFile = Path.Combine(testDataPath, "emptySchema.soil"); @@ -305,7 +305,7 @@ // Given string dbFile = Path.Combine(testDataPath, "2dprofileWithPreconsolidationStressesAndUnparsableValues.soil"); - SoilProfileReadException expectedException = null; + SoilProfileReadException actualException = null; var readStresses = new List(); using (var reader = new PreconsolidationStressReader(dbFile)) { @@ -320,16 +320,16 @@ } catch (SoilProfileReadException e) { - expectedException = e; + actualException = e; } } // Then Assert.IsFalse(reader.HasNext); } - Assert.IsNotNull(expectedException); - Assert.AreEqual("Profile_1", expectedException.ProfileName); + Assert.IsNotNull(actualException); + Assert.AreEqual("Profile_1", actualException.ProfileName); CollectionAssert.AreEqual(new[] {