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