Summary
In this chapter, you learned why you would want to use the Microsoft tests, how to start applying them on your Business Central code, and how to fix the most regularly occurring errors they might throw. You learned that most fixes relate to adjusting the test fixture, be it shared or fresh.
With this chapter, the first edition of the book came to an end. In this second edition, we have added a whole new section, Section 5, Advanced Topics, containing three new chapters. There, we will discuss how to construct complex scenarios, write testable code, and test outgoing and incoming calls and how to mock them.