1 package xxx; 2 3 import android.graphics.drawable.Drawable; 4 import org.robolectric.annotation.Implements; 5 6 /** Fake shadow for testing {@link org.robolectric.errorprone.bugpatterns.RobolectricShadow}. */ 7 @Implements(Drawable.class) 8 public class XShadowDrawable { getCreatedFromResId()9 public int getCreatedFromResId() { 10 return 1234; 11 } 12 } 13