示例#1
0
 public void ShouldBeCorrectlyInitialized()
 {
     // given
     using (var cache = new ObservableInMemoryCache <int, string>())
     {
         // then
         cache.CurrentCount.Should().Be(0);
         cache.ThresholdAmountWhenChangesAreNotifiedAsReset.Should().Be(Int32.MaxValue);
     }
 }
 public void ShouldBeCorrectlyInitialized()
 {
     // given
     using (var cache = new ObservableInMemoryCache<int, string>())
     {
         // then
         cache.CurrentCount.Should().Be(0);
         cache.ThresholdAmountWhenChangesAreNotifiedAsReset.Should().Be(Int32.MaxValue);
     }
 }