Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestCalculationWithForeshoreProfileTest.cs =================================================================== diff -u -r5ee23018be55ff03a7851e54ca0a6682c521f952 -r38bc3bb60b50bdfb98f76be1e03f6d663733008d --- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestCalculationWithForeshoreProfileTest.cs (.../TestCalculationWithForeshoreProfileTest.cs) (revision 5ee23018be55ff03a7851e54ca0a6682c521f952) +++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestCalculationWithForeshoreProfileTest.cs (.../TestCalculationWithForeshoreProfileTest.cs) (revision 38bc3bb60b50bdfb98f76be1e03f6d663733008d) @@ -19,7 +19,6 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System; using NUnit.Framework; namespace Ringtoets.Common.Data.TestUtil.Test @@ -41,15 +40,16 @@ } [Test] - public void CreateCalculationWithOutput_ForeshoreProfileNull_ThrowsArgumentNullException() + public void CreateCalculationWithOutput_ForeshoreProfileNull_ReturnsExpectedValues() { // Call - TestDelegate call = () => + TestCalculationWithForeshoreProfile calculation = TestCalculationWithForeshoreProfile.CreateCalculationWithOutput(null); // Assert - var exception = Assert.Throws(call); - Assert.AreEqual("foreshoreProfile", exception.ParamName); + Assert.IsTrue(calculation.HasOutput); + Assert.IsNull(calculation.InputParameters.ForeshoreProfile); + Assert.IsNull(calculation.Comments); } [Test]