public DistributedCacheProviderTests() { var options = new OptionsWrapper <MemoryDistributedCacheOptions>(new MemoryDistributedCacheOptions()); _memoryDistributedCache = new MemoryDistributedCache(options); _distributedCacheProvider = new DistributedCacheProvider(_memoryDistributedCache); }
public DistributedCacheProviderTests() { _memoryDistributedCache = new MemoryDistributedCache(new MemoryCache(new MemoryCacheOptions())); _distributedCacheProvider = new DistributedCacheProvider(_memoryDistributedCache); }