Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresCalculationContextTreeNodeInfoTest.cs =================================================================== diff -u -r0b02d2f718cbc5c039f130a0243fe12eb5674a31 -rf7a5d22408a43c70b20a9eb5ee79cb336bacdf9e --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresCalculationContextTreeNodeInfoTest.cs (.../StabilityPointStructuresCalculationContextTreeNodeInfoTest.cs) (revision 0b02d2f718cbc5c039f130a0243fe12eb5674a31) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/TreeNodeInfos/StabilityPointStructuresCalculationContextTreeNodeInfoTest.cs (.../StabilityPointStructuresCalculationContextTreeNodeInfoTest.cs) (revision f7a5d22408a43c70b20a9eb5ee79cb336bacdf9e) @@ -195,16 +195,16 @@ // Setup string validFilePath = Path.Combine(testDataPath, "complete.sqlite"); - var assessmentSectionStub = mocks.Stub(); - assessmentSectionStub.HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase + var assessmentSection = mocks.Stub(); + assessmentSection.HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase { FilePath = validFilePath, Version = "random" }; var failureMechanism = new TestStabilityPointStructuresFailureMechanism(); var calculation = new StructuresCalculation(); - var nodeData = new StabilityPointStructuresCalculationContext(calculation, failureMechanism, assessmentSectionStub); + var nodeData = new StabilityPointStructuresCalculationContext(calculation, failureMechanism, assessmentSection); var menuBuilder = new CustomItemsOnlyContextMenuBuilder(); using (var treeViewControl = new TreeViewControl()) @@ -217,7 +217,7 @@ plugin.Gui = gui; // Call - using (ContextMenuStrip menu = info.ContextMenuStrip(nodeData, assessmentSectionStub, treeViewControl)) + using (ContextMenuStrip menu = info.ContextMenuStrip(nodeData, assessmentSection, treeViewControl)) { // Assert Assert.AreEqual(16, menu.Items.Count); @@ -423,7 +423,7 @@ // Given var calculationObserver = mocks.StrictMock(); var calculationInputObserver = mocks.StrictMock(); - var assessmentSectionStub = mocks.Stub(); + var assessmentSection = mocks.Stub(); var failureMechanism = new TestStabilityPointStructuresFailureMechanism(); var calculation = new StructuresCalculation @@ -437,7 +437,7 @@ var nodeData = new StabilityPointStructuresCalculationContext(calculation, failureMechanism, - assessmentSectionStub); + assessmentSection); calculation.Attach(calculationObserver); calculation.InputParameters.Attach(calculationInputObserver); @@ -830,7 +830,7 @@ // Given var calculationObserver = mocks.StrictMock(); var calculationInputObserver = mocks.StrictMock(); - var assessmentSectionStub = mocks.Stub(); + var assessmentSection = mocks.Stub(); var failureMechanism = new TestStabilityPointStructuresFailureMechanism(); var foreshoreProfileInput = new TestForeshoreProfile(true); @@ -845,7 +845,7 @@ var nodeData = new StabilityPointStructuresCalculationContext(calculation, failureMechanism, - assessmentSectionStub); + assessmentSection); calculation.Attach(calculationObserver); calculation.InputParameters.Attach(calculationInputObserver); @@ -997,8 +997,8 @@ var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation(); - var assessmentSectionStub = mocks.Stub(); - assessmentSectionStub.HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase + var assessmentSection = mocks.Stub(); + assessmentSection.HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase { FilePath = validFilePath, Version = "random", @@ -1020,7 +1020,7 @@ calculation.Attach(observer); var failureMechanism = new TestStabilityPointStructuresFailureMechanism(); - var calculationContext = new StabilityPointStructuresCalculationContext(calculation, failureMechanism, assessmentSectionStub); + var calculationContext = new StabilityPointStructuresCalculationContext(calculation, failureMechanism, assessmentSection); using (var treeViewControl = new TreeViewControl()) {