List of usage examples for android.test.mock MockContentResolver addProvider
public void addProvider(String name, ContentProvider provider)
From source file:io.pivotal.arca.dispatcher.test.SupportRequestDispatcherTest.java
private RequestDispatcher getDispatcher() { final MockContentResolver resolver = new MockContentResolver(); resolver.addProvider(AUTHORITY, mProvider); final RequestExecutor executor = new RequestExecutor.DefaultRequestExecutor(resolver); return new SupportRequestDispatcher(executor, getContext(), mLoaderManager); }