Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelLocationsContextTreeNodeInfoTest.cs =================================================================== diff -u -r1bbf51443c907b5f202e80764fa05f2e7f842c04 -r7594f72cabeb4802ffab5715e2edb2712fc1f0df --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelLocationsContextTreeNodeInfoTest.cs (.../DesignWaterLevelLocationsContextTreeNodeInfoTest.cs) (revision 1bbf51443c907b5f202e80764fa05f2e7f842c04) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelLocationsContextTreeNodeInfoTest.cs (.../DesignWaterLevelLocationsContextTreeNodeInfoTest.cs) (revision 7594f72cabeb4802ffab5715e2edb2712fc1f0df) @@ -25,6 +25,7 @@ using System.Linq; using System.Threading; using System.Windows.Forms; +using Core.Common.Base; using Core.Common.Controls.TreeView; using Core.Common.Gui; using Core.Common.Gui.ContextMenu; @@ -273,6 +274,15 @@ } }; + var assessmentSectionObserver = mockRepository.StrictMock(); + assessmentSectionObserver.Expect(o => o.UpdateObserver()); + assessmentSection.Attach(assessmentSectionObserver); + + var databaseObserver = mockRepository.StrictMock(); + databaseObserver.Expect(o => o.UpdateObserver()); + assessmentSection.HydraulicBoundaryDatabase.Attach(databaseObserver); + + var context = new DesignWaterLevelLocationsContext(assessmentSection); using (var treeViewControl = new TreeViewControl())