Room MigrationTestHelper is deprecated

Solution 1:

That's simply not true; only 2 of the 5 constructors had been deprecated:

https://developer.android.com/reference/androidx/room/testing/MigrationTestHelper

Most likely because:

Cannot be used to run migration tests involving AutoMigration.