Пример #1
0
 public void DbSize_Removing_Entry()
 {
     _memory = new InMemoryCache.Caching.InMemoryCache();
     Enumerable.Range(1, 10).ToList().ForEach(i => _memory.Set($"myKey{i}", i));
     _memory.Del("myKey1");
     Assert.AreEqual(9, _memory.DbSize());
 }
Пример #2
0
 public void SetUp()
 {
     _memory = new InMemoryCache.Caching.InMemoryCache();
 }