shadows/framework/src/main/java/org/robolectric/shadows/ShadowBitmapDrawable.java
@Deprecated
  @Override
  public int getCreatedFromResId() {
    ShadowBitmap shadowBitmap = Shadow.extract(realBitmapDrawable.getBitmap());
    return shadowBitmap.getCreatedFromResId();
  }
@Deprecated
  @Override
  public int getCreatedFromResId() {
    ShadowBitmap shadowBitmap = Shadow.extract(realBitmapDrawable.getBitmap());
    return shadowBitmap.getCreatedFromResId();
  }
@ Deprecated @ Override public int getCreatedFromResId ( ) { ShadowBitmap shadowBitmap = Shadow . extract ( realBitmapDrawable . getBitmap ( ) ) ; return shadowBitmap . getCreatedFromResId ( ) ; }
Returns the resource id that this {@code BitmapDrawable} was loaded from. This lets
your tests assert that the bitmap is correct without having to actually load the bitmap.

@return resource id from which this {@code BitmapDrawable} was loaded
@deprecated use ShadowBitmap#getCreatedFromResId() instead.
Returns the resource id that this { @code BitmapDrawable } was loaded from . This lets your tests assert that the bitmap is correct without having to actually load the bitmap .