예제 #1
0
 public void CanResetCache()
 {
     _caching.Reset();
     _caching.SetValue("test1", "Some value 1", TimeSpan.FromDays(1));
     _caching.SetValue("test2", "Some value 2", TimeSpan.FromDays(1));
     Assert.Equal(2, _caching.Count());
     _caching.Reset();
     Assert.Equal(0, _caching.Count());
 }