Index: Riskeer/Integration/test/Riskeer.Integration.Plugin.Test/Handlers/AssessmentSectionCompositionChangeHandlerTest.cs =================================================================== diff -u -reb5a719cc127d1917e2c0d7c44eee463693879b0 -rc43ea82e4fc2d68ef459e4ac5eff9e6140f4f553 --- Riskeer/Integration/test/Riskeer.Integration.Plugin.Test/Handlers/AssessmentSectionCompositionChangeHandlerTest.cs (.../AssessmentSectionCompositionChangeHandlerTest.cs) (revision eb5a719cc127d1917e2c0d7c44eee463693879b0) +++ Riskeer/Integration/test/Riskeer.Integration.Plugin.Test/Handlers/AssessmentSectionCompositionChangeHandlerTest.cs (.../AssessmentSectionCompositionChangeHandlerTest.cs) (revision c43ea82e4fc2d68ef459e4ac5eff9e6140f4f553) @@ -93,7 +93,7 @@ { // Setup var mocks = new MockRepository(); - var viewCommands = mocks.Stub(); + var viewCommands = mocks.StrictMock(); mocks.ReplayAll(); AssessmentSection assessmentSection = TestDataGenerator.GetAssessmentSectionWithAllCalculationConfigurations(); @@ -174,7 +174,7 @@ { // Setup var mocks = new MockRepository(); - var viewCommands = mocks.Stub(); + var viewCommands = mocks.StrictMock(); viewCommands.Expect(vc => vc.RemoveAllViewsForItem(Arg.Matches(fm => !fm.IsRelevant))) .Repeat.Times(expectedNumberOfCalls); mocks.ReplayAll();