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 this mock's Method gets called twice, the second call won't throw a MockException (due to the max call count having been exceeded), it'll throw a SomeException.
This can be observed when using the obsolete IOccurrence API (setting up an expected call count at Setup time); Verify isn't affected.
The text was updated successfully, but these errors were encountered:
In some cases, Moq doesn't update a setup's invocation count correctly.
If this mock's
Method
gets called twice, the second call won't throw aMockException
(due to the max call count having been exceeded), it'll throw aSomeException
.This can be observed when using the obsolete
IOccurrence
API (setting up an expected call count atSetup
time);Verify
isn't affected.The text was updated successfully, but these errors were encountered: