Let's learn the basics of using mocking in your tests. Unit testing your classes helps ensure that they work correctly based on controlled inputs but doing the setup can be painful if you have a lot of dependencies.
In this video, we’ll show you how to create mock objects using Mockito to simplify your testing setup and improve the readability of your tests.
Basic knowledge or experience building Android applications is recommended. Viewers should be familiar with running unit tests and mock objects
For the More Curious...Mock vs. Spy - Part 2
Project files are only available for subscribers. Create an account today to access our collection of screencasts, skill packs, and more.