@Test
public void nonExpiredCacheHit() throws Exception {

    Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, false, false);
    when(mCache.get(anyString())).thenReturn(entry);
    mDispatcher.processRequest(mRequest);
    verify(mDelivery).postResponse(any(Request.class), any(Response.class));
    verify(mDelivery, never()).postError(any(Request.class), any(VolleyError.class));
}