Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StrengthStabilityLengthwise/StrengthStabilityLengthwiseConstructionFailureMechanismSectionResultCreateExtensionsTest.cs =================================================================== diff -u -r41a37c93cb0b3e36ff7023c9f42b4e6225598b55 -r7ae9100ff4e61169edcefaeb01b72d492431742f --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StrengthStabilityLengthwise/StrengthStabilityLengthwiseConstructionFailureMechanismSectionResultCreateExtensionsTest.cs (.../StrengthStabilityLengthwiseConstructionFailureMechanismSectionResultCreateExtensionsTest.cs) (revision 41a37c93cb0b3e36ff7023c9f42b4e6225598b55) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StrengthStabilityLengthwise/StrengthStabilityLengthwiseConstructionFailureMechanismSectionResultCreateExtensionsTest.cs (.../StrengthStabilityLengthwiseConstructionFailureMechanismSectionResultCreateExtensionsTest.cs) (revision 7ae9100ff4e61169edcefaeb01b72d492431742f) @@ -20,7 +20,6 @@ // All rights reserved. using System; -using Application.Ringtoets.Storage.Create; using Application.Ringtoets.Storage.Create.StrengthStabilityLengthwise; using Application.Ringtoets.Storage.TestUtil; using Core.Common.Base.Data; @@ -33,19 +32,6 @@ public class StrengthStabilityLengthwiseConstructionFailureMechanismSectionResultCreateExtensionsTest { [Test] - public void Create_WithoutPersistenceRegistry_ThrowsArgumentNullException() - { - // Setup - var sectionResult = new StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult(new TestFailureMechanismSection()); - - // Call - TestDelegate test = () => sectionResult.Create(null); - - // Assert - Assert.Throws(test); - } - - [Test] public void Create_VariousResults_ReturnsEntity( [Values(true, false)] bool assessmentLayerOneResult, [Values(3.2, 4.5)] double assessmentLayerThreeResult) @@ -58,7 +44,7 @@ }; // Call - var result = sectionResult.Create(new PersistenceRegistry()); + var result = sectionResult.Create(); // Assert Assert.AreEqual(Convert.ToByte(assessmentLayerOneResult), result.LayerOne); @@ -75,7 +61,7 @@ }; // Call - var result = sectionResult.Create(new PersistenceRegistry()); + var result = sectionResult.Create(); // Assert Assert.IsNull(result.LayerThree);