Summary
In this chapter, you learned first how to test incoming calls, that is, how to test your own APIs, and secondly, how to test outgoing calls, that is, how to enable the usage of test doubles by means of dependency injection (DI) enabling in your code.
With this chapter, the book has come to an end. But your journey into test automation might have just started. To me, every time it's still fun to pick up. It enables me to go astray in my application code, finding the results of my test pulling me back. It allows me to refactor my code at any time. It also enables me to reflect on the quality of the code more easily because it can be changed and instantly checked. I could go on with my praising and more or less redo the first chapter of this book but I won't, as it is time to conclude for now. I hope you enjoyed reading and practicing with me as much as I did while writing.