Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/HydraulicBoundaryLocationPropertiesTest.cs =================================================================== diff -u -rc4b7dfacbc45a9949d27a9cc77802b144835cd5e -ra5eb5c3f7ed90adc9875439ab6fd1eea6f74ab18 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/HydraulicBoundaryLocationPropertiesTest.cs (.../HydraulicBoundaryLocationPropertiesTest.cs) (revision c4b7dfacbc45a9949d27a9cc77802b144835cd5e) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/HydraulicBoundaryLocationPropertiesTest.cs (.../HydraulicBoundaryLocationPropertiesTest.cs) (revision a5eb5c3f7ed90adc9875439ab6fd1eea6f74ab18) @@ -22,23 +22,38 @@ using System; using System.ComponentModel; using System.Linq; +using Core.Common.Base; using Core.Common.Base.Geometry; using Core.Common.Gui.Converters; using Core.Common.TestUtil; using Core.Common.Util; using NUnit.Framework; +using Rhino.Mocks; using Ringtoets.Common.Data.Hydraulics; using Ringtoets.Common.Data.IllustrationPoints; using Ringtoets.Common.Data.TestUtil; using Ringtoets.Common.Data.TestUtil.IllustrationPoints; -using Ringtoets.Common.Forms.PropertyClasses; using Ringtoets.Integration.Forms.PropertyClasses; namespace Ringtoets.Integration.Forms.Test.PropertyClasses { [TestFixture] public class HydraulicBoundaryLocationPropertiesTest { + private const int idPropertyIndex = 0; + private const int namePropertyIndex = 1; + private const int coordinatesPropertyIndex = 2; + private const int targetProbabilityPropertyIndex = 3; + private const int targetReliabilityPropertyIndex = 4; + private const int calculatedProbabilityPropertyIndex = 5; + private const int calculatedReliabilityPropertyIndex = 6; + private const int convergencePropertyIndex = 7; + private const int shouldCalculateIllustrationPointsIndex = 8; + private const int governingWindDirectionIndex = 9; + private const int alphaValuesIndex = 10; + private const int durationsIndex = 11; + private const int illustrationPointsIndex = 12; + [Test] public void Constructor_HydraulicBoundaryLocationCalculationNull_ThrowsArgumentNullException() { @@ -51,155 +66,178 @@ } [Test] - public void Constructor_ValidData_ReturnsExpectedValues() + public void Constructor_WithoutGeneralIllustrationPointsResult_PropertiesHaveExpectedAttributesValues() { // Setup - const long id = 1234L; - const double x = 567.0; - const double y = 890.0; - const string name = ""; + var hydraulicBoundaryLocationCalculation = new HydraulicBoundaryLocationCalculation(new TestHydraulicBoundaryLocation()); - var hydraulicBoundaryLocation = new HydraulicBoundaryLocation(id, name, x, y); - var hydraulicBoundaryLocationCalculation = new HydraulicBoundaryLocationCalculation(hydraulicBoundaryLocation); - // Call - HydraulicBoundaryLocationProperties hydraulicBoundaryLocationProperties = new TestHydraulicBoundaryLocationProperties(hydraulicBoundaryLocationCalculation); + var properties = new TestHydraulicBoundaryLocationProperties(hydraulicBoundaryLocationCalculation); // Assert - Assert.AreEqual(id, hydraulicBoundaryLocationProperties.Id); - Assert.AreEqual(name, hydraulicBoundaryLocationProperties.Name); - var coordinates = new Point2D(x, y); - Assert.AreEqual(coordinates, hydraulicBoundaryLocationProperties.Location); - } + TypeConverter classTypeConverter = TypeDescriptor.GetConverter(properties, true); + Assert.IsInstanceOf(classTypeConverter); - [Test] - public void Constructor_ValidDataWithGeneralResult_ReturnsExpectedValues() - { - // Setup - const long id = 1; - const double x = 567.0; - const double y = 890.0; - const string name = "name"; + PropertyDescriptorCollection dynamicProperties = PropertiesTestHelper.GetAllVisiblePropertyDescriptors(properties); + Assert.AreEqual(9, dynamicProperties.Count); - var random = new Random(21); - var topLevelIllustrationPoint = - new TopLevelSubMechanismIllustrationPoint(WindDirectionTestFactory.CreateTestWindDirection("Wind direction name"), - "closing situation", - new TestSubMechanismIllustrationPoint()); + const string generalCategory = "Algemeen"; + const string resultCategory = "Resultaat"; + const string illustrationPointsCategory = "Illustratiepunten"; - var stochast = new Stochast("stochastName", - random.NextDouble(), - random.NextDouble()); - var generalResult = new GeneralResult( - WindDirectionTestFactory.CreateTestWindDirection("Governing Wind Direction Name"), new[] - { - stochast - }, new[] - { - topLevelIllustrationPoint - }); + PropertyDescriptor idProperty = dynamicProperties[idPropertyIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(idProperty, + generalCategory, + "ID", + "ID van de hydraulische randvoorwaardenlocatie in de database.", + true); - var hydraulicBoundaryLocation = new HydraulicBoundaryLocation(id, name, x, y); - var hydraulicBoundaryLocationCalculation = new HydraulicBoundaryLocationCalculation(hydraulicBoundaryLocation) - { - Output = new TestHydraulicBoundaryLocationOutput(generalResult) - }; + PropertyDescriptor nameProperty = dynamicProperties[namePropertyIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(nameProperty, + generalCategory, + "Naam", + "Naam van de hydraulische randvoorwaardenlocatie.", + true); - // Call - var locationProperties = new TestHydraulicBoundaryLocationProperties(hydraulicBoundaryLocationCalculation); + PropertyDescriptor coordinatesProperty = dynamicProperties[coordinatesPropertyIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(coordinatesProperty, + generalCategory, + "Coördinaten [m]", + "Coördinaten van de hydraulische randvoorwaardenlocatie.", + true); - // Assert - Assert.AreEqual(id, locationProperties.Id); - Assert.AreEqual(name, locationProperties.Name); - var coordinates = new Point2D(x, y); - Assert.AreEqual(coordinates, locationProperties.Location); + PropertyDescriptor targetProbabilityProperty = dynamicProperties[targetProbabilityPropertyIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(targetProbabilityProperty, + resultCategory, + "Doelkans [1/jaar]", + "De ingevoerde kans waarvoor het resultaat moet worden berekend.", + true); - Assert.AreEqual(generalResult.GoverningWindDirection.Name, locationProperties.GoverningWindDirection); - CollectionAssert.AreEqual(generalResult.Stochasts, locationProperties.AlphaValues); - CollectionAssert.AreEqual(generalResult.Stochasts, locationProperties.Durations); + PropertyDescriptor targetReliabilityProperty = dynamicProperties[targetReliabilityPropertyIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(targetReliabilityProperty, + resultCategory, + "Betrouwbaarheidsindex doelkans [-]", + "Betrouwbaarheidsindex van de ingevoerde kans waarvoor het resultaat moet worden berekend.", + true); - TopLevelSubMechanismIllustrationPointProperties topLevelProperties = - locationProperties.IllustrationPoints.Single(); - SubMechanismIllustrationPoint subMechanismIllustrationPoint = topLevelIllustrationPoint.SubMechanismIllustrationPoint; - Assert.AreEqual(subMechanismIllustrationPoint.Name, topLevelProperties.Name); - Assert.AreEqual(topLevelIllustrationPoint.WindDirection.Name, topLevelProperties.WindDirection); - Assert.AreEqual(topLevelIllustrationPoint.ClosingSituation, topLevelProperties.ClosingSituation); - Assert.AreEqual(subMechanismIllustrationPoint.Beta, topLevelProperties.CalculatedReliability); - double expectedProbability = StatisticsConverter.ReliabilityToProbability( - subMechanismIllustrationPoint.Beta); - Assert.AreEqual(expectedProbability, topLevelProperties.CalculatedProbability); - CollectionAssert.AreEqual(subMechanismIllustrationPoint.Stochasts, topLevelProperties.AlphaValues); - CollectionAssert.AreEqual(subMechanismIllustrationPoint.Stochasts, topLevelProperties.Durations); - Assert.AreSame(subMechanismIllustrationPoint, topLevelProperties.SubMechanismIllustrationPointValues.Data); - } + PropertyDescriptor calculatedProbabilityProperty = dynamicProperties[calculatedProbabilityPropertyIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(calculatedProbabilityProperty, + resultCategory, + "Berekende kans [1/jaar]", + "De berekende kans van voorkomen van het berekende resultaat.", + true); - [Test] - [TestCase("")] - [TestCase("some name")] - public void ToString_WithName_ReturnsName(string name) - { - // Setup - const long id = 1234L; - const double x = 567.0; - const double y = 890.0; - var hydraulicBoundaryLocation = new HydraulicBoundaryLocation(id, name, x, y); - var hydraulicBoundaryLocationCalculation = new HydraulicBoundaryLocationCalculation(hydraulicBoundaryLocation); + PropertyDescriptor calculatedReliabilityProperty = dynamicProperties[calculatedReliabilityPropertyIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(calculatedReliabilityProperty, + resultCategory, + "Betrouwbaarheidsindex berekende kans [-]", + "Betrouwbaarheidsindex van de berekende kans van voorkomen van het berekende resultaat.", + true); - // Call - HydraulicBoundaryLocationProperties hydraulicBoundaryLocationProperties = new TestHydraulicBoundaryLocationProperties(hydraulicBoundaryLocationCalculation); + PropertyDescriptor convergenceProperty = dynamicProperties[convergencePropertyIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(convergenceProperty, + resultCategory, + "Convergentie", + "Is convergentie bereikt in de toetspeil berekening?", + true); - // Assert - string expectedString = $"{name} {new Point2D(x, y)}"; - Assert.AreEqual(expectedString, hydraulicBoundaryLocationProperties.ToString()); + PropertyDescriptor calculateIllustrationPointsProperty = dynamicProperties[shouldCalculateIllustrationPointsIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(calculateIllustrationPointsProperty, + illustrationPointsCategory, + "Illustratiepunten inlezen", + "Neem de informatie over de illustratiepunten op in het berekeningsresultaat."); } [Test] public void Constructor_WithGeneralIllustrationPointsResult_PropertiesHaveExpectedAttributesValues() { // Setup - var hydraulicBoundaryLocation = new HydraulicBoundaryLocation(0, "", 0.0, 0.0); - var hydraulicBoundaryLocationCalculation = new HydraulicBoundaryLocationCalculation(hydraulicBoundaryLocation) - { - Output = new TestHydraulicBoundaryLocationOutput(new TestGeneralResultSubMechanismIllustrationPoint()) - }; + var hydraulicBoundaryLocationCalculation = new HydraulicBoundaryLocationCalculation(new TestHydraulicBoundaryLocation()); // Call - var hydraulicBoundaryLocationProperties = new TestHydraulicBoundaryLocationProperties(hydraulicBoundaryLocationCalculation); + var properties = new TestHydraulicBoundaryLocationProperties(hydraulicBoundaryLocationCalculation); // Assert - TypeConverter classTypeConverter = TypeDescriptor.GetConverter(hydraulicBoundaryLocationProperties, true); + TypeConverter classTypeConverter = TypeDescriptor.GetConverter(properties, true); Assert.IsInstanceOf(classTypeConverter); + PropertyDescriptorCollection dynamicProperties = PropertiesTestHelper.GetAllVisiblePropertyDescriptors(properties); + Assert.AreEqual(13, dynamicProperties.Count); + const string generalCategory = "Algemeen"; + const string resultCategory = "Resultaat"; const string illustrationPointsCategory = "Illustratiepunten"; - PropertyDescriptorCollection dynamicProperties = PropertiesTestHelper.GetAllVisiblePropertyDescriptors(hydraulicBoundaryLocationProperties); - Assert.AreEqual(7, dynamicProperties.Count); - PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(dynamicProperties[0], + + PropertyDescriptor idProperty = dynamicProperties[idPropertyIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(idProperty, generalCategory, "ID", "ID van de hydraulische randvoorwaardenlocatie in de database.", true); - PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(dynamicProperties[1], + PropertyDescriptor nameProperty = dynamicProperties[namePropertyIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(nameProperty, generalCategory, "Naam", "Naam van de hydraulische randvoorwaardenlocatie.", true); - PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(dynamicProperties[2], + PropertyDescriptor coordinatesProperty = dynamicProperties[coordinatesPropertyIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(coordinatesProperty, generalCategory, "Coördinaten [m]", "Coördinaten van de hydraulische randvoorwaardenlocatie.", true); - PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(dynamicProperties[3], + PropertyDescriptor targetProbabilityProperty = dynamicProperties[targetProbabilityPropertyIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(targetProbabilityProperty, + resultCategory, + "Doelkans [1/jaar]", + "De ingevoerde kans waarvoor het resultaat moet worden berekend.", + true); + + PropertyDescriptor targetReliabilityProperty = dynamicProperties[targetReliabilityPropertyIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(targetReliabilityProperty, + resultCategory, + "Betrouwbaarheidsindex doelkans [-]", + "Betrouwbaarheidsindex van de ingevoerde kans waarvoor het resultaat moet worden berekend.", + true); + + PropertyDescriptor calculatedProbabilityProperty = dynamicProperties[calculatedProbabilityPropertyIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(calculatedProbabilityProperty, + resultCategory, + "Berekende kans [1/jaar]", + "De berekende kans van voorkomen van het berekende resultaat.", + true); + + PropertyDescriptor calculatedReliabilityProperty = dynamicProperties[calculatedReliabilityPropertyIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(calculatedReliabilityProperty, + resultCategory, + "Betrouwbaarheidsindex berekende kans [-]", + "Betrouwbaarheidsindex van de berekende kans van voorkomen van het berekende resultaat.", + true); + + PropertyDescriptor convergenceProperty = dynamicProperties[convergencePropertyIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(convergenceProperty, + resultCategory, + "Convergentie", + "Is convergentie bereikt in de toetspeil berekening?", + true); + + PropertyDescriptor calculateIllustrationPointsProperty = dynamicProperties[shouldCalculateIllustrationPointsIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(calculateIllustrationPointsProperty, illustrationPointsCategory, + "Illustratiepunten inlezen", + "Neem de informatie over de illustratiepunten op in het berekeningsresultaat."); + + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(dynamicProperties[governingWindDirectionIndex], + illustrationPointsCategory, "Maatgevende windrichting", "De windrichting waarvoor de berekende betrouwbaarheidsindex het laagst is.", true); TestHelper.AssertTypeConverter(nameof(HydraulicBoundaryLocationProperties.AlphaValues)); - PropertyDescriptor alphaValuesProperty = dynamicProperties[4]; + PropertyDescriptor alphaValuesProperty = dynamicProperties[alphaValuesIndex]; Assert.NotNull(alphaValuesProperty.Attributes[typeof(KeyValueElementAttribute)]); PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(alphaValuesProperty, illustrationPointsCategory, @@ -208,7 +246,7 @@ true); TestHelper.AssertTypeConverter(nameof(HydraulicBoundaryLocationProperties.Durations)); - PropertyDescriptor durationsProperty = dynamicProperties[5]; + PropertyDescriptor durationsProperty = dynamicProperties[durationsIndex]; Assert.NotNull(durationsProperty.Attributes[typeof(KeyValueElementAttribute)]); PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(durationsProperty, illustrationPointsCategory, @@ -217,56 +255,136 @@ true); TestHelper.AssertTypeConverter(nameof(HydraulicBoundaryLocationProperties.IllustrationPoints)); - PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(dynamicProperties[6], + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(dynamicProperties[illustrationPointsIndex], illustrationPointsCategory, "Illustratiepunten", "De lijst van illustratiepunten voor de berekening.", true); } [Test] - public void Constructor_WithGeneralIllustrationPointsResult_ExpectedProperties() + [TestCase(true)] + [TestCase(false)] + public void GetProperties_ValidData_ReturnsExpectedValues(bool withIllustrationPoints) { // Setup - var hydraulicBoundaryLocation = new HydraulicBoundaryLocation(0, "", 0.0, 0.0); + var random = new Random(); + const long id = 1234L; + const double x = 567.0; + const double y = 890.0; + const string name = ""; + + double targetProbability = random.NextDouble(); + double targetReliability = random.NextDouble(); + double calculatedProbability = random.NextDouble(); + double calculatedReliability = random.NextDouble(); + double result = random.NextDouble(); + var convergence = random.NextEnumValue(); + + var illustrationPoints = new[] + { + new TopLevelSubMechanismIllustrationPoint(new WindDirection("WEST", 4), "sluit", new TestSubMechanismIllustrationPoint()) + }; + var stochasts = new[] + { + new Stochast("a", 2, 3) + }; + const string governingWindDirection = "EAST"; + GeneralResult generalResult = + withIllustrationPoints + ? new GeneralResult(new WindDirection(governingWindDirection, 2), + stochasts, + illustrationPoints) + : null; + + var hydraulicBoundaryLocationOutput = new HydraulicBoundaryLocationOutput(result, + targetProbability, + targetReliability, + calculatedProbability, + calculatedReliability, + convergence, + generalResult); + + var hydraulicBoundaryLocation = new HydraulicBoundaryLocation(id, name, x, y); var hydraulicBoundaryLocationCalculation = new HydraulicBoundaryLocationCalculation(hydraulicBoundaryLocation) { - Output = new TestHydraulicBoundaryLocationOutput(new TestGeneralResultSubMechanismIllustrationPoint()) + Output = hydraulicBoundaryLocationOutput }; // Call - var hydraulicBoundaryLocationProperties = new TestHydraulicBoundaryLocationProperties(hydraulicBoundaryLocationCalculation); + var properties = new TestHydraulicBoundaryLocationProperties(hydraulicBoundaryLocationCalculation); // Assert - PropertyDescriptorCollection dynamicProperties = PropertiesTestHelper.GetAllVisiblePropertyDescriptors(hydraulicBoundaryLocationProperties); - Assert.AreEqual(7, dynamicProperties.Count); + Assert.AreEqual(id, properties.Id); + Assert.AreEqual(name, properties.Name); + var coordinates = new Point2D(x, y); + Assert.AreEqual(coordinates, properties.Location); - Assert.AreEqual(nameof(HydraulicBoundaryLocationProperties.Id), dynamicProperties[1].Name); - Assert.AreEqual(nameof(HydraulicBoundaryLocationProperties.Name), dynamicProperties[2].Name); - Assert.AreEqual(nameof(HydraulicBoundaryLocationProperties.Location), dynamicProperties[3].Name); - Assert.AreEqual(nameof(HydraulicBoundaryLocationProperties.GoverningWindDirection), dynamicProperties[4].Name); - Assert.AreEqual(nameof(HydraulicBoundaryLocationProperties.AlphaValues), dynamicProperties[5].Name); - Assert.AreEqual(nameof(HydraulicBoundaryLocationProperties.Durations), dynamicProperties[6].Name); - Assert.AreEqual(nameof(HydraulicBoundaryLocationProperties.IllustrationPoints), dynamicProperties[0].Name); + Assert.AreEqual(targetProbability, properties.TargetProbability); + Assert.AreEqual(targetReliability, properties.TargetReliability, properties.TargetReliability.GetAccuracy()); + Assert.AreEqual(calculatedProbability, properties.CalculatedProbability); + Assert.AreEqual(calculatedReliability, properties.CalculatedReliability, properties.CalculatedReliability.GetAccuracy()); + + string convergenceValue = new EnumDisplayWrapper(convergence).DisplayName; + Assert.AreEqual(convergenceValue, properties.Convergence); + + if (withIllustrationPoints) + { + GeneralResult expectedGeneralResult = hydraulicBoundaryLocationOutput.GeneralResult; + CollectionAssert.AreEqual(expectedGeneralResult.Stochasts, properties.AlphaValues); + CollectionAssert.AreEqual(expectedGeneralResult.Stochasts, properties.Durations); + CollectionAssert.AreEqual(expectedGeneralResult.TopLevelIllustrationPoints, properties.IllustrationPoints.Select(ip => ip.Data)); + Assert.AreEqual(expectedGeneralResult.GoverningWindDirection.Name, properties.GoverningWindDirection); + } } [Test] - public void Constructor_WithoutGeneralIllustrationPointsResult_ExpectedProperties() + [TestCase("")] + [TestCase("some name")] + public void ToString_WithName_ReturnsName(string name) { // Setup - var hydraulicBoundaryLocation = new HydraulicBoundaryLocation(0, "", 0.0, 0.0); + const long id = 1234L; + const double x = 567.0; + const double y = 890.0; + var hydraulicBoundaryLocation = new HydraulicBoundaryLocation(id, name, x, y); var hydraulicBoundaryLocationCalculation = new HydraulicBoundaryLocationCalculation(hydraulicBoundaryLocation); // Call - var hydraulicBoundaryLocationProperties = new TestHydraulicBoundaryLocationProperties(hydraulicBoundaryLocationCalculation); + HydraulicBoundaryLocationProperties hydraulicBoundaryLocationProperties = new TestHydraulicBoundaryLocationProperties(hydraulicBoundaryLocationCalculation); // Assert - PropertyDescriptorCollection dynamicProperties = PropertiesTestHelper.GetAllVisiblePropertyDescriptors(hydraulicBoundaryLocationProperties); - Assert.AreEqual(3, dynamicProperties.Count); + string expectedString = $"{name} {new Point2D(x, y)}"; + Assert.AreEqual(expectedString, hydraulicBoundaryLocationProperties.ToString()); + } - Assert.AreEqual(nameof(HydraulicBoundaryLocationProperties.Id), dynamicProperties[0].Name); - Assert.AreEqual(nameof(HydraulicBoundaryLocationProperties.Name), dynamicProperties[1].Name); - Assert.AreEqual(nameof(HydraulicBoundaryLocationProperties.Location), dynamicProperties[2].Name); + [Test] + public void ShouldIllustrationPointsBeCalculated_SetNewValue_NotifyObservers() + { + // Setup + var mocks = new MockRepository(); + var observer = mocks.StrictMock(); + observer.Expect(o => o.UpdateObserver()); + mocks.ReplayAll(); + + var hydraulicBoundaryLocationCalculation = new HydraulicBoundaryLocationCalculation(new TestHydraulicBoundaryLocation()) + { + InputParameters = + { + ShouldIllustrationPointsBeCalculated = false + } + }; + + hydraulicBoundaryLocationCalculation.Attach(observer); + + var properties = new TestHydraulicBoundaryLocationProperties(hydraulicBoundaryLocationCalculation); + + // Call + properties.ShouldIllustrationPointsBeCalculated = true; + + // Assert + Assert.IsTrue(hydraulicBoundaryLocationCalculation.InputParameters.ShouldIllustrationPointsBeCalculated); + mocks.VerifyAll(); } private class TestHydraulicBoundaryLocationProperties : HydraulicBoundaryLocationProperties