use of org.robolectric.shadows.testing.TestContentProvider1 in project robolectric by robolectric.
the class ContentProviderControllerTest method shouldSetBaseContext.
@Test
public void shouldSetBaseContext() throws Exception {
TestContentProvider1 myContentProvider = controller.create().get();
assertThat(myContentProvider.getContext()).isEqualTo(((Application) ApplicationProvider.getApplicationContext()).getBaseContext());
}
Aggregations