0 replies on 1 page.
This is the second lesson of our “Testing with Mockito” course. After getting introduced to Mockito and learning why and when Mocks should be used, we are now ready to get into more details regarding Mocks, Stubs and Spies.
We will take an in-depth look at stubbing classes and interfaces using Mockito, and we will also talk about Stubbing void methods and Stubbing return values. Finally, we will discuss Argument Matchers and Spies and Partial Stubbing.
Get started here
Read: Mocks, Spies and Partial Mocks