1 package com.xtremelabs.robolectric.shadows; 2 3 import android.content.ContentProvider; 4 import android.content.Context; 5 6 import com.xtremelabs.robolectric.Robolectric; 7 import com.xtremelabs.robolectric.internal.Implementation; 8 import com.xtremelabs.robolectric.internal.Implements; 9 10 @Implements(ContentProvider.class) 11 public class ShadowContentProvider { 12 13 @Implementation getContext()14 public final Context getContext() { 15 return Robolectric.application; 16 } 17 18 } 19