Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PresentationObjects/MacroStabilityInwardsInputContextTest.cs =================================================================== diff -u -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213 -rf7a5d22408a43c70b20a9eb5ee79cb336bacdf9e --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PresentationObjects/MacroStabilityInwardsInputContextTest.cs (.../MacroStabilityInwardsInputContextTest.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PresentationObjects/MacroStabilityInwardsInputContextTest.cs (.../MacroStabilityInwardsInputContextTest.cs) (revision f7a5d22408a43c70b20a9eb5ee79cb336bacdf9e) @@ -38,7 +38,7 @@ { // Setup var mocks = new MockRepository(); - var assessmentSectionStub = mocks.Stub(); + var assessmentSection = mocks.Stub(); mocks.ReplayAll(); var calculation = new MacroStabilityInwardsCalculationScenario(new GeneralMacroStabilityInwardsInput()); @@ -54,14 +54,14 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); // Call - var context = new MacroStabilityInwardsInputContext(calculation.InputParameters, calculation, surfaceLines, stochasticSoilModels, failureMechanism, assessmentSectionStub); + var context = new MacroStabilityInwardsInputContext(calculation.InputParameters, calculation, surfaceLines, stochasticSoilModels, failureMechanism, assessmentSection); // Assert Assert.IsInstanceOf>(context); Assert.AreSame(calculation.InputParameters, context.WrappedData); Assert.AreSame(calculation, context.MacroStabilityInwardsCalculation); Assert.AreSame(failureMechanism, context.FailureMechanism); - Assert.AreSame(assessmentSectionStub, context.AssessmentSection); + Assert.AreSame(assessmentSection, context.AssessmentSection); CollectionAssert.AreEqual(surfaceLines, context.AvailableMacroStabilityInwardsSurfaceLines); CollectionAssert.AreEqual(stochasticSoilModels, context.AvailableStochasticSoilModels); mocks.VerifyAll(); @@ -72,7 +72,7 @@ { // Setup var mocks = new MockRepository(); - var assessmentSectionStub = mocks.Stub(); + var assessmentSection = mocks.Stub(); mocks.ReplayAll(); var calculationInput = new MacroStabilityInwardsInput(new GeneralMacroStabilityInwardsInput()); @@ -87,7 +87,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); // Call - TestDelegate call = () => new MacroStabilityInwardsInputContext(calculationInput, null, surfaceLines, stochasticSoilModels, failureMechanism, assessmentSectionStub); + TestDelegate call = () => new MacroStabilityInwardsInputContext(calculationInput, null, surfaceLines, stochasticSoilModels, failureMechanism, assessmentSection); // Assert var exception = Assert.Throws(call);