Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -r9f3aa087ef6a3bc08b0b032e9c2661f81d79442f -r5826b97a9ae0135d6b9a272605243bfc0ef33995 --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs) (revision 9f3aa087ef6a3bc08b0b032e9c2661f81d79442f) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs) (revision 5826b97a9ae0135d6b9a272605243bfc0ef33995) @@ -218,8 +218,9 @@ failureMechanism, assessmentSection); - var menuBuilder = mocks.StrictMock(); - using (mocks.Ordered()) + var orderedMocks = new MockRepository(); + var menuBuilder = orderedMocks.StrictMock(); + using (orderedMocks.Ordered()) { menuBuilder.Expect(mb => mb.AddImportItem()).Return(menuBuilder); menuBuilder.Expect(mb => mb.AddExportItem()).Return(menuBuilder); @@ -250,12 +251,13 @@ gui.Stub(g => g.ViewCommands).Return(mocks.Stub()); gui.Stub(g => g.MainWindow).Return(mocks.Stub()); mocks.ReplayAll(); + orderedMocks.ReplayAll(); // Call info.ContextMenuStrip(groupContext, null, treeViewControl); } // Assert - // Assert expectancies called in TearDown() + orderedMocks.VerifyAll(); } [Test]