You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following setups on mock 'Mock<IX:00000002>' were not matched:
1: IX m => m.X.X
Expected behavior:
No exception should be thrown, since setup 2 overrides the "root" of setup 1 (m.X) and there's no longer any way of getting at 2's m.X.X through mock (on which verification is triggered).
The text was updated successfully, but these errors were encountered:
In the above example, the mock associated with the initial value of mock.Object.X keeps being tracked even though it becomes unreachable later when mock.Object.X is reset.
Reproduction code:
Actual behavior:
Verify
throws aMockException
with message:Expected behavior:
No exception should be thrown, since setup 2 overrides the "root" of setup 1 (
m.X
) and there's no longer any way of getting at 2'sm.X.X
throughmock
(on which verification is triggered).The text was updated successfully, but these errors were encountered: