Index: Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/TreeNodeInfos/PipingCalculationScenarioContextTreeNodeInfoTest.cs =================================================================== diff -u -r75e1eff406a03fff323f3153c95bf13236b45540 -rf428768f659b91a7a7b6f47cfdd0cd861288171d --- Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/TreeNodeInfos/PipingCalculationScenarioContextTreeNodeInfoTest.cs (.../PipingCalculationScenarioContextTreeNodeInfoTest.cs) (revision 75e1eff406a03fff323f3153c95bf13236b45540) +++ Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/TreeNodeInfos/PipingCalculationScenarioContextTreeNodeInfoTest.cs (.../PipingCalculationScenarioContextTreeNodeInfoTest.cs) (revision f428768f659b91a7a7b6f47cfdd0cd861288171d) @@ -53,9 +53,9 @@ { private const int contextMenuUpdateEntryAndExitPointIndex = 1; - private const int contextMenuValidateIndex = 2; - private const int contextMenuCalculateIndex = 3; - private const int contextMenuClearIndex = 5; + private const int contextMenuValidateIndex = 3; + private const int contextMenuCalculateIndex = 4; + private const int contextMenuClearIndex = 6; private MockRepository mocks; private PipingPlugin plugin; @@ -360,6 +360,7 @@ { menuBuilderMock.Expect(mb => mb.AddRenameItem()).Return(menuBuilderMock); menuBuilderMock.Expect(mb => mb.AddCustomItem(null)).IgnoreArguments().Return(menuBuilderMock); + menuBuilderMock.Expect(mb => mb.AddSeparator()).Return(menuBuilderMock); menuBuilderMock.Expect(mb => mb.AddCustomItem(null)).IgnoreArguments().Return(menuBuilderMock); menuBuilderMock.Expect(mb => mb.AddCustomItem(null)).IgnoreArguments().Return(menuBuilderMock); menuBuilderMock.Expect(mb => mb.AddSeparator()).Return(menuBuilderMock); @@ -388,7 +389,7 @@ } [Test] - public void UpdateEntryAndExitPoint_CalculationHasNoSurfaceLine_ItemDisabled() + public void ContextMenuStrip_CalculationWithoutSurfaceLine_ContextMenuItemUpdateEntryAndExitPointDisabled() { // Setup using (var treeViewControl = new TreeViewControl()) @@ -423,7 +424,7 @@ } [Test] - public void UpdateEntryAndExitPoint_CalculationHasSurfaceLine_ItemEnabled() + public void ContextMenuStrip_CalculationWithSurfaceLine_ContextMenuItemUpdateEntryAndExitPointEnabled() { // Setup using (var treeViewControl = new TreeViewControl())