use of com.stanfy.enroscar.images.cache.ImageFileCache in project enroscar by stanfy.
the class ImagesManagerAndroidTest method testSetup.
public void testSetup() {
ResponseCache cache = imagesManager.getImagesResponseCache();
assertThat(cache).isInstanceOf(ImageFileCache.class);
ImageFileCache imageFileCache = (ImageFileCache) cache;
assertThat(imageFileCache.getWorkingDirectory()).isNotNull();
assertThat(imageFileCache.getWorkingDirectory()).exists();
assertThat(imageFileCache.getWorkingDirectory()).isDirectory();
assertThat(imageFileCache.getMaxSize()).isGreaterThan(0);
}
Aggregations