Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/DesignWaterLevelLocationsContextTreeNodeInfoTest.cs =================================================================== diff -u -r6f741425dc85f3d9d868d76002a92aa9bd3cb6cb -r82c089ea04d564cd80d55a8e0f74a112efbe9c0f --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/DesignWaterLevelLocationsContextTreeNodeInfoTest.cs (.../DesignWaterLevelLocationsContextTreeNodeInfoTest.cs) (revision 6f741425dc85f3d9d868d76002a92aa9bd3cb6cb) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/DesignWaterLevelLocationsContextTreeNodeInfoTest.cs (.../DesignWaterLevelLocationsContextTreeNodeInfoTest.cs) (revision 82c089ea04d564cd80d55a8e0f74a112efbe9c0f) @@ -250,11 +250,11 @@ { HydraulicBoundaryDatabase = hydraulicBoundaryDatabase }; - var designWaterLevelContext = new DesignWaterLevelLocationsContext(assessmentSectionMock); + var context = new DesignWaterLevelLocationsContext(assessmentSectionMock); using (var treeViewControl = new TreeViewControl()) { - guiMock.Expect(g => g.Get(designWaterLevelContext, treeViewControl)).Return(new CustomItemsOnlyContextMenuBuilder()); + guiMock.Expect(g => g.Get(context, treeViewControl)).Return(new CustomItemsOnlyContextMenuBuilder()); guiMock.Expect(g => g.MainWindow).Return(mockRepository.Stub()); mockRepository.ReplayAll(); @@ -264,7 +264,7 @@ TreeNodeInfo info = GetInfo(plugin); plugin.Gui = guiMock; - ContextMenuStrip contextMenuAdapter = info.ContextMenuStrip(designWaterLevelContext, null, treeViewControl); + ContextMenuStrip contextMenuAdapter = info.ContextMenuStrip(context, null, treeViewControl); // When Action action = () => { contextMenuAdapter.Items[contextMenuRunAssessmentLevelCalculationsIndex].PerformClick(); }; @@ -288,14 +288,14 @@ var assessmentSectionMock = mockRepository.Stub(); mockRepository.ReplayAll(); - var designWaterLevelContext = new DesignWaterLevelLocationsContext(assessmentSectionMock); + var context = new DesignWaterLevelLocationsContext(assessmentSectionMock); using (var plugin = new RingtoetsPlugin()) { TreeNodeInfo info = GetInfo(plugin); // Call - Color color = info.ForeColor(designWaterLevelContext); + Color color = info.ForeColor(context); // Assert Assert.AreEqual(Color.FromKnownColor(KnownColor.GrayText), color); @@ -311,14 +311,14 @@ assessmentSectionMock.HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(); mockRepository.ReplayAll(); - var designWaterLevelContext = new DesignWaterLevelLocationsContext(assessmentSectionMock); + var context = new DesignWaterLevelLocationsContext(assessmentSectionMock); using (var plugin = new RingtoetsPlugin()) { TreeNodeInfo info = GetInfo(plugin); // Call - Color color = info.ForeColor(designWaterLevelContext); + Color color = info.ForeColor(context); // Assert Assert.AreEqual(Color.FromKnownColor(KnownColor.ControlText), color);