Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Refine failed expectations #3

Open
fstrudel opened this issue Dec 6, 2011 · 0 comments
Open

Refine failed expectations #3

fstrudel opened this issue Dec 6, 2011 · 0 comments

Comments

@fstrudel
Copy link

fstrudel commented Dec 6, 2011

Would be nice to have some hints when an expectation fails.

For instance, when I have

willInvoke(1).of(myMockObject).myMethod(expectedObject);

and this expectation fails, I'd like to know:

  • whether 'myMethod' was called or not
  • and/or the first parameter of 'myMethod' did not match the expectation 'expectedObject'

so that I know that my equals() method is wrong or my checker is wrong, etc...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant