The Developer Preview for Android 11 is now available; test it out and share your feedback.

android.support.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.