Index: Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Forms.Test/PropertyClasses/WaveImpactAsphaltCoverWaveConditionsInputContextPropertiesTest.cs =================================================================== diff -u -r603abf1f7f49b0ed6d179e7dd800a170048f477d -rcc2b4067500d40bf504c7c4b3b076061cc390af4 --- Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Forms.Test/PropertyClasses/WaveImpactAsphaltCoverWaveConditionsInputContextPropertiesTest.cs (.../WaveImpactAsphaltCoverWaveConditionsInputContextPropertiesTest.cs) (revision 603abf1f7f49b0ed6d179e7dd800a170048f477d) +++ Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Forms.Test/PropertyClasses/WaveImpactAsphaltCoverWaveConditionsInputContextPropertiesTest.cs (.../WaveImpactAsphaltCoverWaveConditionsInputContextPropertiesTest.cs) (revision cc2b4067500d40bf504c7c4b3b076061cc390af4) @@ -34,7 +34,6 @@ using Ringtoets.Common.Data.DikeProfiles; using Ringtoets.Common.Data.TestUtil; using Ringtoets.Common.Forms.PropertyClasses; -using Ringtoets.Common.Forms.UITypeEditors; using Ringtoets.HydraRing.Data; using Ringtoets.Revetment.Data; using Ringtoets.Revetment.Forms.PropertyClasses; @@ -188,7 +187,7 @@ }; // Assert - Assert.AreSame(hydraulicBoundaryLocation, properties.SelectedHydraulicBoundaryLocation.HydraulicBoundaryLocation); + Assert.AreSame(hydraulicBoundaryLocation, properties.SelectedHydraulicBoundaryLocation); Assert.AreEqual(assessmentLevel.Value, properties.AssessmentLevel.Value, properties.AssessmentLevel.GetAccuracy()); Assert.AreSame(foreshoreProfile, properties.ForeshoreProfile); Assert.AreEqual(worldX, properties.WorldReferencePoint.X, 0.5); @@ -225,8 +224,6 @@ { DesignWaterLevel = assessmentLevel }; - var newSelectableHydraulicBoundaryLocation = new SelectableHydraulicBoundaryLocation(newHydraulicBoundaryLocation, null); - assessmentSection.HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase { Locations = @@ -263,12 +260,12 @@ properties.LowerBoundaryRevetment = newLowerBoundaryRevetment; properties.UpperBoundaryWaterLevels = newUpperBoundaryWaterLevels; properties.LowerBoundaryWaterLevels = newLowerBoundaryWaterLevels; + properties.SelectedHydraulicBoundaryLocation = newHydraulicBoundaryLocation; properties.StepSize = newStepSize; - properties.SelectedHydraulicBoundaryLocation = newSelectableHydraulicBoundaryLocation; properties.Orientation = orientation; // Assert - Assert.AreSame(input.HydraulicBoundaryLocation, properties.SelectedHydraulicBoundaryLocation.HydraulicBoundaryLocation); + Assert.AreSame(input.HydraulicBoundaryLocation, properties.SelectedHydraulicBoundaryLocation); Assert.AreEqual(input.HydraulicBoundaryLocation.DesignWaterLevel.Value, properties.AssessmentLevel.Value); Assert.AreEqual(assessmentLevel - 0.01, properties.UpperBoundaryDesignWaterLevel.Value, properties.UpperBoundaryDesignWaterLevel.GetAccuracy()); Assert.AreEqual(2, properties.UpperBoundaryDesignWaterLevel.NumberOfDecimalPlaces);