use of ddf.catalog.event.retrievestatus.DownloadStatusInfoImpl in project ddf by codice.
the class ReliableResourceDownloadManagerTest method setup.
@Before
public void setup() {
resourceCache = mock(ResourceCacheImpl.class);
when(resourceCache.getProductCacheDirectory()).thenReturn(productCacheDirectory);
eventPublisher = mock(DownloadsStatusEventPublisher.class);
eventListener = mock(DownloadsStatusEventListener.class);
downloadStatusInfo = new DownloadStatusInfoImpl();
downloadMgr = new ReliableResourceDownloadManager(getDownloaderConfig(), downloadStatusInfo, Executors.newSingleThreadExecutor());
}
Aggregations