java-tutorials/testing-modules/mockito/README.md

22 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

=========
## Mockito Cookbooks and Examples
### Relevant Articles:
- [Mockito Verify Cookbook](http://www.baeldung.com/mockito-verify)
- [Mockito When/Then Cookbook](http://www.baeldung.com/mockito-behavior)
- [Mockito Using Spies](http://www.baeldung.com/mockito-spy)
- [Mockito @Mock, @Spy, @Captor and @InjectMocks](http://www.baeldung.com/mockito-annotations)
- [Mockitos Mock Methods](http://www.baeldung.com/mockito-mock-methods)
- [Introduction to PowerMock](http://www.baeldung.com/intro-to-powermock)
- [Mocking Exception Throwing using Mockito](http://www.baeldung.com/mockito-exceptions)
- [Mocking Void Methods with Mockito](http://www.baeldung.com/mockito-void-methods)
- [Mocking of Private Methods Using PowerMock](http://www.baeldung.com/powermock-private-method)
- [Mock Final Classes and Methods with Mockito](http://www.baeldung.com/mockito-final)
- [Hamcrest Text Matchers](http://www.baeldung.com/hamcrest-text-matchers)
- [Hamcrest File Matchers](http://www.baeldung.com/hamcrest-file-matchers)
- [Hamcrest Custom Matchers](http://www.baeldung.com/hamcrest-custom-matchers)
- [Hamcrest Common Core Matchers](http://www.baeldung.com/hamcrest-core-matchers)
- [Testing Callbacks with Mockito](http://www.baeldung.com/mockito-callbacks)