If your application has ever suffered from tight coupling, or if you’ve simply had problems testing your logic in isolation in a repeatable manner then you’ve probably heard the term “mocking”. When you use mocks, you can easily isolate your dependencies, perform desired actions repeatedly and get your system under test easier. Mockito is a mocking library that helps facilitate this. In this course you will learn about what Mockito is, why you’d want to use it, how to implement it and much more.


Mockito - Mocking and Stubbing Final Classes
Mockito - Verifying That a Method was Called a Minimum or Maximum Number of Times
Mockito - Verifying a Method Was Called An Exact Number of Times
Mockito - Verifying a Method Was Never Called
Mockito - Introduction to mocks
Mockito - Stubs - Matching on any parameters of a given type
Mockito String Matchers - anyString()
Mockito Stubs - Default Return Values