Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/DesignWaterLevelCalculationsGroupPropertiesTest.cs =================================================================== diff -u -rdd3fbc29b15246ce6d2496e685398011e85bd21d -rbb29d09db7cda2fbce4c36d2d544f5ef74c7c103 --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/DesignWaterLevelCalculationsGroupPropertiesTest.cs (.../DesignWaterLevelCalculationsGroupPropertiesTest.cs) (revision dd3fbc29b15246ce6d2496e685398011e85bd21d) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/DesignWaterLevelCalculationsGroupPropertiesTest.cs (.../DesignWaterLevelCalculationsGroupPropertiesTest.cs) (revision bb29d09db7cda2fbce4c36d2d544f5ef74c7c103) @@ -24,7 +24,6 @@ using System.ComponentModel; using System.Linq; using Core.Common.Gui.Converters; -using Core.Common.Gui.PropertyBag; using Core.Common.TestUtil; using NUnit.Framework; using Ringtoets.Common.Data.Hydraulics; @@ -37,30 +36,6 @@ public class DesignWaterLevelCalculationsGroupPropertiesTest { [Test] - public void Constructor_LocationsNull_ThrowsArgumentNullException() - { - // Call - TestDelegate call = () => new DesignWaterLevelCalculationsGroupProperties(null, - Enumerable.Empty>>()); - - // Assert - var exception = Assert.Throws(call); - Assert.AreEqual("locations", exception.ParamName); - } - - [Test] - public void Constructor_CalculationsPerCategoryBoundaryNull_ThrowsArgumentNullException() - { - // Call - TestDelegate call = () => new DesignWaterLevelCalculationsGroupProperties(Enumerable.Empty(), - null); - - // Assert - var exception = Assert.Throws(call); - Assert.AreEqual("calculationsPerCategoryBoundary", exception.ParamName); - } - - [Test] public void Constructor_ExpectedValues() { // Setup @@ -71,7 +46,7 @@ Enumerable.Empty>>()); // Assert - Assert.IsInstanceOf>>(properties); + Assert.IsInstanceOf(properties); Assert.AreSame(locations, properties.Data); TestHelper.AssertTypeConverter( @@ -117,7 +92,7 @@ }); // Assert - HydraulicBoundaryLocationProperties locationProperties = properties.Locations.Single(); + DesignWaterLevelHydraulicBoundaryLocationProperties locationProperties = properties.Locations.Single(); Assert.AreSame(location, locationProperties.Data); Assert.AreEqual(1, locationProperties.CategoryBoundaries.Length); }