Throughout this book, we have implemented patterns and best practices with the intention of separating the layers of our TripLog app, making it easier to maintain and test. In this chapter, we will write unit tests for the business logic in our ViewModels.