shadows/framework/src/main/java/org/robolectric/shadows/ShadowBitmap.java
public static String visualize(Bitmap bitmap) {
    ShadowBitmap shadowBitmap = Shadow.extract(bitmap);
    return shadowBitmap.getDescription();
  }
public static String visualize(Bitmap bitmap) {
    ShadowBitmap shadowBitmap = Shadow.extract(bitmap);
    return shadowBitmap.getDescription();
  }
Returns a textual representation of the appearance of the object.

@param bitmap the bitmap to visualize
@return Textual representation of the appearance of the object.