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
I am not sure everyone would agree that this will make for better exception messages. (I'm personally not convinced that it would be very helpful, but I also wouldn't mind.) So I have an alternative suggestion:
Does the mock's name have to be in the exception .Message itself, or might it also suffice to add a new property to MockVerificationException, e.g. .MockName? That way, people interested in knowing which mock caused the exception can check that extra property.
I know, I know. :) But I would feel bad about closing an old issue without any comment or at least attempting to follow up on it. If this is no longer important to you, we can also close this.
This would simplify debugging in case of multiple mocks of the same class verified through MockRepository.
The text was updated successfully, but these errors were encountered: