Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/DikeProfiles/DikeProfileDataReaderTest.cs =================================================================== diff -u -r3ef2233d45ec65453a83651716d5e3d5cf96ac4c -ra633912c0e5c538b2a0849eea7c1ab4957aaadeb --- Ringtoets/Common/test/Ringtoets.Common.IO.Test/DikeProfiles/DikeProfileDataReaderTest.cs (.../DikeProfileDataReaderTest.cs) (revision 3ef2233d45ec65453a83651716d5e3d5cf96ac4c) +++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/DikeProfiles/DikeProfileDataReaderTest.cs (.../DikeProfileDataReaderTest.cs) (revision a633912c0e5c538b2a0849eea7c1ab4957aaadeb) @@ -49,7 +49,7 @@ public void Constructor_EmptyAcceptedIds_SuccesfullyInitialzed() { // Call - TestDelegate call = () => new DikeProfileDataReader(Enumerable.Empty()); + TestDelegate call = () => new DikeProfileDataReader(new string[0]); // Assert Assert.DoesNotThrow(call); @@ -62,7 +62,7 @@ public void ReadDikeProfileData_NoFilePath_ThrowArgumentException(string invalidFilePath) { // Setup - var reader = new DikeProfileDataReader(Enumerable.Empty()); + var reader = new DikeProfileDataReader(new string[0]); // Call TestDelegate call = () => reader.ReadDikeProfileData(invalidFilePath); @@ -83,7 +83,7 @@ Path.Combine("DikeProfiles", "profiel001 - Ringtoets.prfl")); string invalidFilePath = validFilePath.Replace("-", invalidFileNameChars[3].ToString()); - var reader = new DikeProfileDataReader(Enumerable.Empty()); + var reader = new DikeProfileDataReader(new string[0]); // Call TestDelegate call = () => reader.ReadDikeProfileData(invalidFilePath); @@ -101,7 +101,7 @@ string invalidFilePath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Common.IO, Path.DirectorySeparatorChar.ToString()); - var reader = new DikeProfileDataReader(Enumerable.Empty()); + var reader = new DikeProfileDataReader(new string[0]); // Call TestDelegate call = () => reader.ReadDikeProfileData(invalidFilePath);