Since Magento 2.4.5, test fixtures can be implemented using classes. Refactor the legacy test fixtures used in the integration test suite into separate classes. More details regarding the syntax of these fixture classes can be found in this DevBlog post.