Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/DesignWaterLevelLocationRowTest.cs =================================================================== diff -u -r8dcb8c0fa8992c488bdea7d0631c84b7b1b09e61 -re468a5451f59115ec6ca32c014da1baaa38866e8 --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/DesignWaterLevelLocationRowTest.cs (.../DesignWaterLevelLocationRowTest.cs) (revision 8dcb8c0fa8992c488bdea7d0631c84b7b1b09e61) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/DesignWaterLevelLocationRowTest.cs (.../DesignWaterLevelLocationRowTest.cs) (revision e468a5451f59115ec6ca32c014da1baaa38866e8) @@ -19,7 +19,6 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System; using Core.Common.Utils.Reflection; using NUnit.Framework; using Ringtoets.Common.Data.Hydraulics; @@ -33,17 +32,6 @@ public class DesignWaterLevelLocationRowTest { [Test] - public void Constructor_WithoutDesignWaterLevelLocationContext_ThrowsArgumentNullException() - { - // Call - TestDelegate test = () => new DesignWaterLevelLocationRow(null); - - // Assert - string paramName = Assert.Throws(test).ParamName; - Assert.AreEqual("hydraulicBoundaryLocation", paramName); - } - - [Test] public void Constructor_WithDesignWaterLevelLocationContext_PropertiesFromHydraulicBoundaryLocation() { // Setup @@ -60,7 +48,7 @@ Assert.AreEqual(hydraulicBoundaryLocation.Name, row.Name); Assert.AreEqual(designWaterLevel, row.DesignWaterLevel, hydraulicBoundaryLocation.DesignWaterLevel.GetAccuracy()); Assert.AreEqual(hydraulicBoundaryLocation.Location, row.Location); - Assert.AreSame(hydraulicBoundaryLocation, row.HydraulicBoundaryLocation); + Assert.AreSame(hydraulicBoundaryLocation, row.CalculatableObject); Assert.IsFalse(row.ToCalculate); Assert.IsTrue(TypeUtils.HasTypeConverter(r => r.DesignWaterLevel));