Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/Piping/PipingStructureSectionResultEntityReadExtensionsTest.cs =================================================================== diff -u -rc2bf0666539fa1a781c6d5d633ac292fa4fe2bd4 -r7f759fbabca9c41e75d229269f1b21581b373b5f --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/Piping/PipingStructureSectionResultEntityReadExtensionsTest.cs (.../PipingStructureSectionResultEntityReadExtensionsTest.cs) (revision c2bf0666539fa1a781c6d5d633ac292fa4fe2bd4) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/Piping/PipingStructureSectionResultEntityReadExtensionsTest.cs (.../PipingStructureSectionResultEntityReadExtensionsTest.cs) (revision 7f759fbabca9c41e75d229269f1b21581b373b5f) @@ -34,27 +34,13 @@ public class PipingStructureSectionResultEntityReadExtensionsTest { [Test] - public void Read_CollectorIsNull_ThrowArgumentNullException() - { - // Setup - var entity = new PipingStructureSectionResultEntity(); - - // Call - TestDelegate call = () => entity.Read(new PipingStructureFailureMechanismSectionResult(new TestFailureMechanismSection()), null); - - // Assert - string paramName = Assert.Throws(call).ParamName; - Assert.AreEqual("collector", paramName); - } - - [Test] public void Read_SectionResultIsNull_ThrowArgumentNullException() { // Setup var entity = new PipingStructureSectionResultEntity(); // Call - TestDelegate call = () => entity.Read(null, new ReadConversionCollector()); + TestDelegate call = () => entity.Read(null); // Assert string paramName = Assert.Throws(call).ParamName; @@ -86,7 +72,7 @@ var sectionResult = new PipingStructureFailureMechanismSectionResult(new TestFailureMechanismSection()); // Call - entity.Read(sectionResult, collector); + entity.Read(sectionResult); // Assert Assert.IsNotNull(sectionResult); @@ -116,7 +102,7 @@ var sectionResult = new PipingStructureFailureMechanismSectionResult(new TestFailureMechanismSection()); // Call - entity.Read(sectionResult, collector); + entity.Read(sectionResult); // Assert Assert.IsNaN(sectionResult.AssessmentLayerThree);