-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/#41 links #42
Fix/#41 links #42
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 more fix, then LGTM
_posts/2000-01-15-more.md
Outdated
partial mocking, real methods are invoked but still can be verified and stubbed | ||
* [`@InjectMocks`](http://javadoc.io/page/org.mockito/mockito-core/latest/org/mockito/InjectMocks.html): automatically inject mocks/spies fields annotated with `@Spy` or `@Mock` | ||
* [`verify()`](http://javadoc.io/page/org.mockito/mockito-core/latest/org/mockito/Mockito.html#verify(T)): to check methods were called with given arguments | ||
* [`verify()`](http://javadoc.io/page/org.mockito/mockito-core/latest/org/mockito/Mockito.html#verify-T-): to check methods were called with given arguments | ||
* can use flexible argument matching, for example any expression via the [`any()`](http://javadoc.io/page/org.mockito/mockito-core/latest/org/mockito/Matchers.html#any()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I haven't seen that Matchers is deprecated and that is why I didn't want to change the link. |
Fixes #41