ImageLoader { public boolean isCached(String requestUrl, int maxWidth, int maxHeight) { return isCached(requestUrl, maxWidth, maxHeight, ScaleType.CENTER_INSIDE); } ImageLoader(RequestQueue queue, ImageCache imageCache); static ImageListener getImageListener(
            final ImageView view, final int defaultImageResId, final int errorImageResId); boolean isCached(String requestUrl, int maxWidth, int maxHeight); @MainThread boolean isCached(String requestUrl, int maxWidth, int maxHeight, ScaleType scaleType); ImageContainer get(String requestUrl, final ImageListener listener); ImageContainer get(
            String requestUrl, ImageListener imageListener, int maxWidth, int maxHeight); @MainThread ImageContainer get(
            String requestUrl,
            ImageListener imageListener,
            int maxWidth,
            int maxHeight,
            ScaleType scaleType); void setBatchedResponseDelay(int newBatchedResponseDelayMs);  }
@Test public void isCachedChecksCache() throws Exception { when(mImageCache.getBitmap(anyString())).thenReturn(null); Assert.assertFalse(mImageLoader.isCached("http: }