Index: Ringtoets/Common/test/Ringtoets.Common.IO.TestUtil/CustomSchemaCalculationConfigurationWriterDesignGuidelinesTestFixture.cs =================================================================== diff -u -rcc1268d7cb906524d4cabcd4cbd9ae16676cf059 -rfe7c27dc926b4087fd6ed9551655d0571c8018c9 --- Ringtoets/Common/test/Ringtoets.Common.IO.TestUtil/CustomSchemaCalculationConfigurationWriterDesignGuidelinesTestFixture.cs (.../CustomSchemaCalculationConfigurationWriterDesignGuidelinesTestFixture.cs) (revision cc1268d7cb906524d4cabcd4cbd9ae16676cf059) +++ Ringtoets/Common/test/Ringtoets.Common.IO.TestUtil/CustomSchemaCalculationConfigurationWriterDesignGuidelinesTestFixture.cs (.../CustomSchemaCalculationConfigurationWriterDesignGuidelinesTestFixture.cs) (revision fe7c27dc926b4087fd6ed9551655d0571c8018c9) @@ -28,8 +28,7 @@ using NUnit.Framework; using Rhino.Mocks; using Ringtoets.Common.IO.Configurations; -using Ringtoets.Common.IO.Readers; -using Ringtoets.Common.IO.Writers; +using Ringtoets.Common.IO.Configurations.Export; namespace Ringtoets.Common.IO.TestUtil { @@ -50,7 +49,7 @@ try { - var writer = CreateWriterInstance(filePath); + TWriter writer = CreateWriterInstance(filePath); // Call TestDelegate test = () => writer.Write(new[] @@ -60,7 +59,7 @@ // Assert var exception = Assert.Throws(test); - var innerException = exception.InnerException; + Exception innerException = exception.InnerException; Assert.IsNotNull(innerException); Assert.AreEqual($"Cannot write calculation of type '{calculation.GetType()}' using this writer.", innerException.Message); } @@ -143,7 +142,7 @@ { string filePath = Path.Combine(directoryPath, "test.xml"); disposeHelper.LockDirectory(FileSystemRights.Write); - var writer = CreateWriterInstance(filePath); + TWriter writer = CreateWriterInstance(filePath); // Call TestDelegate call = () => writer.Write(Enumerable.Empty()); @@ -163,7 +162,7 @@ using (var fileDisposeHelper = new FileDisposeHelper(path)) { fileDisposeHelper.LockFiles(); - var writer = CreateWriterInstance(path); + TWriter writer = CreateWriterInstance(path); // Call TestDelegate call = () => writer.Write(Enumerable.Empty());