Index: Ringtoets/Revetment/test/Ringtoets.Revetment.Forms.Test/Views/WaveConditionsInputViewTest.cs =================================================================== diff -u -r5ef2f44bca31b92735dff724f97b717c7c55f912 -r69e65445f53fb8e0c5ca5013d158f597a5c1387c --- Ringtoets/Revetment/test/Ringtoets.Revetment.Forms.Test/Views/WaveConditionsInputViewTest.cs (.../WaveConditionsInputViewTest.cs) (revision 5ef2f44bca31b92735dff724f97b717c7c55f912) +++ Ringtoets/Revetment/test/Ringtoets.Revetment.Forms.Test/Views/WaveConditionsInputViewTest.cs (.../WaveConditionsInputViewTest.cs) (revision 69e65445f53fb8e0c5ca5013d158f597a5c1387c) @@ -65,7 +65,6 @@ var newLocation = new TestHydraulicBoundaryLocation(); wci.HydraulicBoundaryLocation = newLocation; wci.NotifyObservers(); - newLocation.NotifyObservers(); })).SetName("NotifyLocationAndWaterLevelChange"); yield return new TestCaseData(new Action(wci => @@ -502,8 +501,7 @@ } [Test] - [TestCaseSource(nameof(NotifyChange))] - public void GivenViewWithInputData_WhenChangeNotified_ThenUpdatedDataIsShownInChart(Action notifyChange) + public void GivenViewWithInputData_WhenChangeNotified_ThenUpdatedDataIsShownInChart() { // Given var profile = new TestForeshoreProfile(new[] @@ -542,7 +540,9 @@ // When assessmentLevel = (RoundedDouble) 8; - notifyChange(calculation.InputParameters); + var newLocation = new TestHydraulicBoundaryLocation(); + calculation.InputParameters.HydraulicBoundaryLocation = newLocation; + calculation.InputParameters.NotifyObservers(); // Then Assert.AreSame(foreshoreChartData, (ChartLineData) view.Chart.Data.Collection.ElementAt(foreShoreChartDataIndex));