-
-
Notifications
You must be signed in to change notification settings - Fork 820
Open
Labels
Description
if a test is considered failed because of invocation list does not contain an invocation then exception is thrown, but when constructing the exception the list can be already changed (by a parallel thread for instance):
Line 86 in 2119f37
var invocations = mock.MutableInvocations.ToArray(); |
This way exception text contains something like:
Invocation of method1 was excepted but it was never invoked.
What was invoked is:
method2
method1
kzu