Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/ClosingStructureSectionResultEntityReadExtensionsTest.cs =================================================================== diff -u -ra294987551b0b2d8a27b6e1bc6235b0e2351b6f4 -r7f759fbabca9c41e75d229269f1b21581b373b5f --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/ClosingStructureSectionResultEntityReadExtensionsTest.cs (.../ClosingStructureSectionResultEntityReadExtensionsTest.cs) (revision a294987551b0b2d8a27b6e1bc6235b0e2351b6f4) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/ClosingStructureSectionResultEntityReadExtensionsTest.cs (.../ClosingStructureSectionResultEntityReadExtensionsTest.cs) (revision 7f759fbabca9c41e75d229269f1b21581b373b5f) @@ -32,27 +32,13 @@ public class ClosingStructureSectionResultEntityReadExtensionsTest { [Test] - public void Read_CollectorIsNull_ThrowArgumentNullException() - { - // Setup - var entity = new ClosingStructureSectionResultEntity(); - - // Call - TestDelegate call = () => entity.Read(new ClosingStructureFailureMechanismSectionResult(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 ClosingStructureFailureMechanismSectionResult(new TestFailureMechanismSection()); // Call - entity.Read(sectionResult, collector); + entity.Read(sectionResult); // Assert Assert.IsNotNull(sectionResult); @@ -113,7 +99,7 @@ var sectionResult = new ClosingStructureFailureMechanismSectionResult(new TestFailureMechanismSection()); // Call - entity.Read(sectionResult, collector); + entity.Read(sectionResult); // Assert Assert.IsNaN(sectionResult.AssessmentLayerTwoA); @@ -138,7 +124,7 @@ var sectionResult = new ClosingStructureFailureMechanismSectionResult(new TestFailureMechanismSection()); // Call - entity.Read(sectionResult, collector); + entity.Read(sectionResult); // Assert Assert.IsNaN(sectionResult.AssessmentLayerThree);