Using mocks for unit testing makes it easy to write test cases without configuring actual dependencies. However, it is hard to manually write and update all the mocking classes whenever there is a change. Here, Sourcery can help generate them automatically with a command.