Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PropertyClasses/GrassCoverErosionOutwardsWaveHeightLocationsPropertiesTest.cs =================================================================== diff -u -rcedf973769c057c935ffce89259027f2ea13c4df -r6b0cf3b2a278cb86ec4fc5af26f792afcf0cf3a4 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PropertyClasses/GrassCoverErosionOutwardsWaveHeightLocationsPropertiesTest.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsPropertiesTest.cs) (revision cedf973769c057c935ffce89259027f2ea13c4df) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PropertyClasses/GrassCoverErosionOutwardsWaveHeightLocationsPropertiesTest.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsPropertiesTest.cs) (revision 6b0cf3b2a278cb86ec4fc5af26f792afcf0cf3a4) @@ -43,8 +43,8 @@ var hydraulicBoundaryLocations = new ObservableList(); // Call - var properties = new GrassCoverErosionOutwardsWaveHeightLocationsProperties( - hydraulicBoundaryLocations); + var properties = new GrassCoverErosionOutwardsWaveHeightLocationsProperties(hydraulicBoundaryLocations, + hbl => hbl.DesignWaterLevelCalculation); // Assert Assert.IsInstanceOf(properties); @@ -73,13 +73,14 @@ { // Setup HydraulicBoundaryLocation location = TestHydraulicBoundaryLocation.CreateWaveHeightCalculated(1.2); + var hydraulicBoundaryLocations = new ObservableList + { + location + }; // Call - var properties = new GrassCoverErosionOutwardsWaveHeightLocationsProperties( - new ObservableList - { - location - }); + var properties = new GrassCoverErosionOutwardsWaveHeightLocationsProperties(hydraulicBoundaryLocations, + hbl => hbl.WaveHeightCalculation); // Assert Assert.AreEqual(1, properties.Locations.Length);