GalleryImageView extends FrameLayout implements Target { @Override public void onBitmapFailed(Drawable errorDrawable) { } GalleryImageView(Context context);   GalleryImageView(Context context, MultiTouchImageView imageView, ProgressBar progressBar); void setSwipeToDismissCallback(SwipeToDismissTouchListener.Callback callback); @Override void onBitmapLoaded(Bitmap bitmap, Picasso.LoadedFrom from); @Override void onBitmapFailed(Drawable errorDrawable); @Override void onPrepareLoad(Drawable placeHolderDrawable);  }
@Test public void testOnBitmapFailed() { reset(subject.imageView, subject.progressBar); subject.onBitmapFailed(drawable); verifyZeroInteractions(subject.imageView, subject.progressBar); }