Android 12 Developer Preview is here! Try it out, and give us your feedback!

androidx.test.rule.provider

Classes

ProviderTestRule A TestRule to test ContentProviders, with additional APIs to enable easy initialization such as restoring database from a file, running database commands passed in as a String or a file. 
ProviderTestRule.Builder A Builder to ease ProviderTestRule creation.