Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PresentationObjects/StochasticSoilModelCollectionContextTest.cs =================================================================== diff -u -rdc682a1792664507e869ee5ecda02a9cff5426ea -r203d0f03d922b6dac20080dad8e82fe92c7bec86 --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PresentationObjects/StochasticSoilModelCollectionContextTest.cs (.../StochasticSoilModelCollectionContextTest.cs) (revision dc682a1792664507e869ee5ecda02a9cff5426ea) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PresentationObjects/StochasticSoilModelCollectionContextTest.cs (.../StochasticSoilModelCollectionContextTest.cs) (revision 203d0f03d922b6dac20080dad8e82fe92c7bec86) @@ -37,19 +37,19 @@ { // Setup var mocks = new MockRepository(); - var assessmentSectionMock = mocks.StrictMock(); + var assessmentSection = mocks.Stub(); mocks.ReplayAll(); var failureMechanism = new PipingFailureMechanism(); // Call - var context = new StochasticSoilModelCollectionContext(failureMechanism.StochasticSoilModels, failureMechanism, assessmentSectionMock); + var context = new StochasticSoilModelCollectionContext(failureMechanism.StochasticSoilModels, failureMechanism, assessmentSection); // Assert Assert.IsInstanceOf>(context); Assert.AreSame(failureMechanism.StochasticSoilModels, context.WrappedData); Assert.AreSame(failureMechanism, context.FailureMechanism); - Assert.AreSame(assessmentSectionMock, context.AssessmentSection); + Assert.AreSame(assessmentSection, context.AssessmentSection); mocks.VerifyAll(); } @@ -58,13 +58,13 @@ { // Setup var mocks = new MockRepository(); - var assessmentSectionMock = mocks.StrictMock(); + var assessmentSection = mocks.Stub(); mocks.ReplayAll(); var stochasticSoilModels = new StochasticSoilModelCollection(); // Call - TestDelegate test = () => new StochasticSoilModelCollectionContext(stochasticSoilModels, null, assessmentSectionMock); + TestDelegate test = () => new StochasticSoilModelCollectionContext(stochasticSoilModels, null, assessmentSection); // Assert var exception = Assert.Throws(test);