public void InitializeTest()
 {
     customMemoryCache = new CustomMemoryCache();
     Assert.IsInstanceOfType(customMemoryCache, typeof(CustomMemoryCache));
 }
Example #2
0
 public void Initialize()
 {
     _customMemoryCache = new CustomMemoryCache();
     Assert.IsInstanceOf(typeof(CustomMemoryCache), _customMemoryCache);
 }
 public CategoriaRepository(
     IUnitOfWork unitOfWork,
     CustomMemoryCache cache) : base(unitOfWork)
 {
     _cache = cache.Cache;
 }