Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/HydraulicBoundaryLocationRowTest.cs =================================================================== diff -u -ra52911c6ccb59303a68fb0fb981da90dd8902128 -re468a5451f59115ec6ca32c014da1baaa38866e8 --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/HydraulicBoundaryLocationRowTest.cs (.../HydraulicBoundaryLocationRowTest.cs) (revision a52911c6ccb59303a68fb0fb981da90dd8902128) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/HydraulicBoundaryLocationRowTest.cs (.../HydraulicBoundaryLocationRowTest.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.Base.Geometry; using NUnit.Framework; using Ringtoets.Common.Data.Hydraulics; @@ -31,17 +30,6 @@ public class HydraulicBoundaryLocationRowTest { [Test] - public void Constructor_WithoutHydraulicBoundaryLocationContext_ThrowsArgumentNullException() - { - // Call - TestDelegate test = () => new TestHydraulicBoundaryLocationRow(null); - - // Assert - string paramName = Assert.Throws(test).ParamName; - Assert.AreEqual("hydraulicBoundaryLocation", paramName); - } - - [Test] public void Constructor_WithHydraulicBoundaryLocationContext_PropertiesFromHydraulicBoundaryLocation() { // Setup @@ -55,12 +43,12 @@ var row = new TestHydraulicBoundaryLocationRow(hydraulicBoundaryLocation); // Assert - Assert.IsInstanceOf(row); + Assert.IsInstanceOf>(row); Assert.AreEqual(id, row.Id); Assert.AreEqual(locationname, row.Name); var expectedPoint2D = new Point2D(coordinateX, coordinateY); Assert.AreEqual(expectedPoint2D, row.Location); - Assert.AreSame(hydraulicBoundaryLocation, row.HydraulicBoundaryLocation); + Assert.AreSame(hydraulicBoundaryLocation, row.CalculatableObject); Assert.IsFalse(row.ToCalculate); }