Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacroStabilityInwards/MacroStabilityInwardsFailureMechanismSectionResultCreateExtensionsTest.cs =================================================================== diff -u -ra04c3ef2f95c7bac6e29306413c76e9f481e2aa0 -r1c2f91dd3d03b28ce5e493b068bc34ca4dfc9db7 --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacroStabilityInwards/MacroStabilityInwardsFailureMechanismSectionResultCreateExtensionsTest.cs (.../MacroStabilityInwardsFailureMechanismSectionResultCreateExtensionsTest.cs) (revision a04c3ef2f95c7bac6e29306413c76e9f481e2aa0) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacroStabilityInwards/MacroStabilityInwardsFailureMechanismSectionResultCreateExtensionsTest.cs (.../MacroStabilityInwardsFailureMechanismSectionResultCreateExtensionsTest.cs) (revision 1c2f91dd3d03b28ce5e493b068bc34ca4dfc9db7) @@ -35,6 +35,17 @@ public class MacroStabilityInwardsFailureMechanismSectionResultCreateExtensionsTest { [Test] + public void Create_ResultNull_ThrowsArgumentNullException() + { + // Call + TestDelegate test = () => ((MacroStabilityInwardsFailureMechanismSectionResult) null).Create(); + + // Assert + var exception = Assert.Throws(test); + Assert.AreEqual("result", exception.ParamName); + } + + [Test] public void Create_WithResults_ReturnsEntityWithExpectedResults() { // Setup