Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestHydraulicBoundaryLocationTest.cs =================================================================== diff -u -rcfca0be21e050ae7ed7626ef4e3b1472eecc69a1 -r0e700dc5121b8f56c96d1d552056bbe6ebe29300 --- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestHydraulicBoundaryLocationTest.cs (.../TestHydraulicBoundaryLocationTest.cs) (revision cfca0be21e050ae7ed7626ef4e3b1472eecc69a1) +++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/TestHydraulicBoundaryLocationTest.cs (.../TestHydraulicBoundaryLocationTest.cs) (revision 0e700dc5121b8f56c96d1d552056bbe6ebe29300) @@ -49,6 +49,29 @@ } [Test] + public void Constructor_WithName_ExpectedValues() + { + // Setup + const string name = "some name"; + + // Call + var testLocation = new TestHydraulicBoundaryLocation(name); + + // Assert + Assert.IsInstanceOf(testLocation); + Assert.AreEqual(0, testLocation.Id); + Assert.AreEqual(name, testLocation.Name); + Assert.AreEqual(new Point2D(0, 0), testLocation.Location); + + Assert.IsNull(testLocation.DesignWaterLevelOutput); + Assert.IsNull(testLocation.WaveHeightOutput); + Assert.IsNaN(testLocation.DesignWaterLevel); + Assert.IsNaN(testLocation.WaveHeight); + Assert.AreEqual(CalculationConvergence.NotCalculated, testLocation.DesignWaterLevelCalculationConvergence); + Assert.AreEqual(CalculationConvergence.NotCalculated, testLocation.WaveHeightCalculationConvergence); + } + + [Test] public void CreateDesignWaterLevelCalculated_DesignWaterLevel_ExpectedValues() { // Setup