Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelCalculationsContextTreeNodeInfoTest.cs =================================================================== diff -u -rbaee1b5740a8869eedf4bb2c703b8cec9a6a51f1 -r1c75d2cceb97070923febe8a2bad20caae4e48e6 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelCalculationsContextTreeNodeInfoTest.cs (.../DesignWaterLevelCalculationsContextTreeNodeInfoTest.cs) (revision baee1b5740a8869eedf4bb2c703b8cec9a6a51f1) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelCalculationsContextTreeNodeInfoTest.cs (.../DesignWaterLevelCalculationsContextTreeNodeInfoTest.cs) (revision 1c75d2cceb97070923febe8a2bad20caae4e48e6) @@ -28,6 +28,7 @@ using Core.Common.Base; using Core.Common.Controls.TreeView; using Core.Common.Gui; +using Core.Common.Gui.Commands; using Core.Common.Gui.ContextMenu; using Core.Common.Gui.Forms.MainWindow; using Core.Common.Gui.Forms.ViewHost; @@ -389,6 +390,7 @@ gui.Stub(cmp => cmp.Get(context, treeViewControl)).Return(new CustomItemsOnlyContextMenuBuilder()); gui.Stub(g => g.MainWindow).Return(mockRepository.Stub()); gui.Stub(g => g.DocumentViewController).Return(mockRepository.Stub()); + gui.Stub(g => g.ViewCommands).Return(mockRepository.Stub()); var designWaterLevelCalculator = new TestDesignWaterLevelCalculator(); var calculatorFactory = mockRepository.Stub(); @@ -462,6 +464,7 @@ gui.Stub(cmp => cmp.Get(context, treeViewControl)).Return(new CustomItemsOnlyContextMenuBuilder()); gui.Stub(g => g.MainWindow).Return(mockRepository.Stub()); gui.Stub(g => g.DocumentViewController).Return(mockRepository.Stub()); + gui.Stub(g => g.ViewCommands).Return(mockRepository.Stub()); var designWaterLevelCalculator = new TestDesignWaterLevelCalculator(); var calculatorFactory = mockRepository.Stub(); @@ -534,6 +537,7 @@ gui.Stub(cmp => cmp.Get(context, treeViewControl)).Return(new CustomItemsOnlyContextMenuBuilder()); gui.Stub(g => g.MainWindow).Return(mockRepository.Stub()); gui.Stub(g => g.DocumentViewController).Return(mockRepository.Stub()); + gui.Stub(g => g.ViewCommands).Return(mockRepository.Stub()); var designWaterLevelCalculator = new TestDesignWaterLevelCalculator(); var calculatorFactory = mockRepository.Stub(); @@ -603,6 +607,7 @@ gui.Stub(cmp => cmp.Get(context, treeViewControl)).Return(new CustomItemsOnlyContextMenuBuilder()); gui.Stub(g => g.MainWindow).Return(mockRepository.Stub()); gui.Stub(g => g.DocumentViewController).Return(mockRepository.Stub()); + gui.Stub(g => g.ViewCommands).Return(mockRepository.Stub()); var calculator = new TestDesignWaterLevelCalculator {