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
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):
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):
moq/src/Moq/MockException.cs
Line 86 in 2119f37
This way exception text contains something like:
Invocation of method1 was excepted but it was never invoked.
What was invoked is:
method2
method1
The text was updated successfully, but these errors were encountered: