Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverSlipOffInwards/GrassCoverSlipOffInwardsFailureMechanismSectionResultCreateExtensionsTest.cs =================================================================== diff -u -r41a37c93cb0b3e36ff7023c9f42b4e6225598b55 -r7ae9100ff4e61169edcefaeb01b72d492431742f --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverSlipOffInwards/GrassCoverSlipOffInwardsFailureMechanismSectionResultCreateExtensionsTest.cs (.../GrassCoverSlipOffInwardsFailureMechanismSectionResultCreateExtensionsTest.cs) (revision 41a37c93cb0b3e36ff7023c9f42b4e6225598b55) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverSlipOffInwards/GrassCoverSlipOffInwardsFailureMechanismSectionResultCreateExtensionsTest.cs (.../GrassCoverSlipOffInwardsFailureMechanismSectionResultCreateExtensionsTest.cs) (revision 7ae9100ff4e61169edcefaeb01b72d492431742f) @@ -20,7 +20,6 @@ // All rights reserved. using System; -using Application.Ringtoets.Storage.Create; using Application.Ringtoets.Storage.Create.GrassCoverSlipOffInwards; using Application.Ringtoets.Storage.TestUtil; using Core.Common.Base.Data; @@ -34,19 +33,6 @@ public class GrassCoverSlipOffInwardsFailureMechanismSectionResultCreateExtensionsTest { [Test] - public void Create_WithoutPersistenceRegistry_ThrowsArgumentNullException() - { - // Setup - var sectionResult = new GrassCoverSlipOffInwardsFailureMechanismSectionResult(new TestFailureMechanismSection()); - - // Call - TestDelegate test = () => sectionResult.Create(null); - - // Assert - Assert.Throws(test); - } - - [Test] public void Create_VariousResults_ReturnsEntity( [Values(true, false)] bool assessmentLayerOneResult, [Values(AssessmentLayerTwoAResult.NotCalculated, AssessmentLayerTwoAResult.Failed)] AssessmentLayerTwoAResult assessmentLayerTwoAResult, @@ -61,7 +47,7 @@ }; // Call - var result = sectionResult.Create(new PersistenceRegistry()); + var result = sectionResult.Create(); // Assert Assert.AreEqual(Convert.ToByte(assessmentLayerOneResult), result.LayerOne); @@ -79,7 +65,7 @@ }; // Call - var result = sectionResult.Create(new PersistenceRegistry()); + var result = sectionResult.Create(); // Assert Assert.IsNull(result.LayerThree);