This workshop will be retired on January 8, 2022.
Mocking with Mockito21:08 with Chris Ramacciotti
In the last video you saw some setup tasks for working with Mockito. So that our controller tests can focus completely on controllers, in this video we mock the behavior of our services and verify that service methods were called as expected.
Sync Your Code to the Start of this Video
git checkout -f v5
Using Git with this Workshop
See the README on Github for information on how to use Git with this repo to follow along with this workshop.
Mockito Answer Interface
You need to sign up for Treehouse in order to download course files.Sign up