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.
- Source Code