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 just found myself in a situation where I have a collection of fakes, and an assertion fails on one of the fakes, but I don't know which. It would be handy to be able to name fakes, e.g. something like this:
I just found myself in a situation where I have a collection of fakes, and an assertion fails on one of the fakes, but I don't know which. It would be handy to be able to name fakes, e.g. something like this:
Then we could have an assertion failure message like this:
The name could also be used for arguments in calls list. (e.g.
Blah.IFoo.Bar(<baz>)
).For
A.CollectionOfFake<T>
, we might need to introduce an additional overload that takes the index into account:The text was updated successfully, but these errors were encountered: