Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/Piping/PipingSectionResultEntityReadExtensionsTest.cs =================================================================== diff -u -rc2bf0666539fa1a781c6d5d633ac292fa4fe2bd4 -r7f759fbabca9c41e75d229269f1b21581b373b5f --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/Piping/PipingSectionResultEntityReadExtensionsTest.cs (.../PipingSectionResultEntityReadExtensionsTest.cs) (revision c2bf0666539fa1a781c6d5d633ac292fa4fe2bd4) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/Piping/PipingSectionResultEntityReadExtensionsTest.cs (.../PipingSectionResultEntityReadExtensionsTest.cs) (revision 7f759fbabca9c41e75d229269f1b21581b373b5f) @@ -33,27 +33,13 @@ public class PipingSectionResultEntityReadExtensionsTest { [Test] - public void Read_CollectorIsNull_ThrowArgumentNullException() - { - // Setup - var entity = new PipingSectionResultEntity(); - - // Call - TestDelegate call = () => entity.Read(new PipingFailureMechanismSectionResult(new TestFailureMechanismSection()), null); - - // Assert - string paramName = Assert.Throws(call).ParamName; - Assert.AreEqual("collector", paramName); - } - - [Test] public void Read_SectionResultIsNull_ThrowArgumentNullException() { // Setup var entity = new ClosingStructureSectionResultEntity(); // Call - TestDelegate call = () => entity.Read(null, new ReadConversionCollector()); + TestDelegate call = () => entity.Read(null); // Assert string paramName = Assert.Throws(call).ParamName; @@ -84,7 +70,7 @@ var sectionResult = new PipingFailureMechanismSectionResult(new TestFailureMechanismSection()); // Call - entity.Read(sectionResult, collector); + entity.Read(sectionResult); // Assert Assert.IsNotNull(sectionResult); @@ -111,7 +97,7 @@ var sectionResult = new PipingFailureMechanismSectionResult(new TestFailureMechanismSection()); // Call - entity.Read(sectionResult, collector); + entity.Read(sectionResult); // Assert Assert.IsNaN(sectionResult.AssessmentLayerThree);