drewbourne/mockolate

verify() needs more descriptive errors

Closed this issue · 1 comments

for example:

verify(instance).method('notCalled').once();

currently fails with the message: Error: no invocations as METHOD, when it really should include the name of the method, the type of instance, and its mockolate name if any.

done since 0.9.3