@Test
public void getReaderForItemMissingFromCacheWillRetryAndCanSucceed()
{

    when(cache.getReader("url")).
        thenThrow(new CacheMissException("url")).
        thenReturn(cachedContent);
    when(backingStore.getReader("url")).thenReturn(sourceContent);
    when(cache.put("url", sourceContent)).thenReturn(true);
    
    ContentReader returnedReader = cachingStore.getReader("url");
    
    assertSame(returnedReader, cachedContent);
}