The data class brings the query and specification classes together, and in its simplest form, it simply constructs and returns instances of the query and specification classes. We will also pull together the previous Acceptance test library recipes to create a more typical test scenario.
In this recipe, we will complete the vehicle group test suite with an AtlData class, but also create a test to test the creation of a vehicle with the correct default vehicle group.