public async Task RemoveAsync_WithRegionsTryGetValue_ReturnFalse()
 {
     await TestCaching.RemoveAsync_WithRegionsTryGetValue_ReturnFalse(CreateCache <int, string>());
 }
 public async Task TryGetAsync_AfterExpirationTimeSpan_ReturnsFalse()
 {
     await TestCaching.TryGetAsync_AfterExpirationTimeSpan_ReturnsFalse(CreateCache <int, string>());
 }
 public void TryGet_AddOrUpdateTwoValueWithRegions_ReturnsLastValue()
 {
     TestCaching.TryGet_AddOrUpdateTwoValueWithRegions_ReturnsLastValue(CreateCache <int, string>());
 }
 public void Clear_TryGetValueWithRegions_ReturnFalse()
 {
     TestCaching.Clear_TryGetValueWithRegions_ReturnFalse(CreateCache <int, string>());
 }
 public async Task GetOrAdd_TwoTimesCalledWithNoTimeSpanExpire_ResultAlwaysTheSameAndGetValueFuncCalledOneTime()
 {
     await TestCaching.GetOrAdd_TwoTimesCalledWithNoTimeSpanExpire_ResultAlwaysTheSameAndGetValueFuncCalledOneTime(
         CreateCache <int, string>());
 }
 public void TryGet_KeyExistsWithRegion_ReturnsTrueAndValue()
 {
     TestCaching.TryGet_KeyExistsWithRegion_ReturnsTrueAndValue(CreateCache <int, string>());
 }
 public void GetValue_KeyNotExistsWithRegions_ReturnNull()
 {
     TestCaching.GetValue_KeyNotExistsWithRegions_ReturnNull(CreateCache <int, string>());
 }
 public async Task GetOrAddAsync_TwoTimesCalledWithRegions_ResultAlwaysTheSameAndGetValueFuncCalledTwoTime()
 {
     await TestCaching.GetOrAddAsync_TwoTimesCalledWithRegions_ResultAlwaysTheSameAndGetValueFuncCalledTwoTime(
         CreateCache <int, string>());
 }
 public void GetValue_KeyNotExistsWithRegions_ThrowsException()
 {
     TestCaching.GetValue_KeyNotExistsWithRegions_ThrowsException(CreateCache <int, string>());
 }
 public async Task GetValueAsync_KeyNotExistsWithRegions_ThrowsException()
 {
     await TestCaching.GetValueAsync_KeyNotExistsWithRegions_ThrowsException(CreateCache <int, string>());
 }
 public async Task GetValueAsync_GetExistingWithRegion_ReturnsValue()
 {
     await TestCaching.GetValueAsync_GetExistingWithRegion_ReturnsValue(CreateCache <int, string>());
 }
 public void TryGet_KeyNotExistsWithRegion_ReturnFalse()
 {
     TestCaching.TryGet_KeyNotExistsWithRegion_ReturnFalse(CreateCache <int, string>());
 }
 public void GetValue_GetExistingWithRegion_ReturnsValue()
 {
     TestCaching.GetValue_GetExistingWithRegion_ReturnsValue(CreateCache <int, string>());
 }
 public async Task TryGetAsync_KeyNotExistsWithRegion_ReturnFalse()
 {
     await TestCaching.TryGetAsync_KeyNotExistsWithRegion_ReturnFalse(CreateCache <int, string>());
 }
 public async Task GetValueAsync_KeyNotExistsWithRegions_ReturnNull()
 {
     await TestCaching.GetValueAsync_KeyNotExistsWithRegions_ReturnNull(CreateCache <int, string>());
 }
 public void GetOrAdd_TwoTimesCalledWithRegions_ResultAlwaysTheSameAndGetValueFuncCalledTwoTime()
 {
     TestCaching.GetOrAdd_TwoTimesCalledWithRegions_ResultAlwaysTheSameAndGetValueFuncCalledTwoTime(
         CreateCache <int, string>());
 }
 public void GetValue_KeyNotExists_ReturnDefaultValue()
 {
     TestCaching.GetValue_KeyNotExists_ReturnDefaultValue(CreateCache <int, string>());
 }
 public void GetOrAdd_TwoTimesCalledWithNeverExpire_ResultAlwaysTheSameAndGetValueFuncCalledOneTime()
 {
     TestCaching.GetOrAdd_TwoTimesCalledWithNeverExpire_ResultAlwaysTheSameAndGetValueFuncCalledOneTime(
         CreateCache <int, string>());
 }
 public void GetValue_KeyNotExists_ReturnNewValueAndStoreToCache()
 {
     TestCaching.GetValue_KeyNotExists_ReturnNewValueAndStoreToCache(CreateCache <int, string>());
 }
 GetOrAddAsync_TwoTimesCalledWithNoDateTimeExpire_ResultAlwaysTheSameAndGetValueFuncCalledOneTime()
 {
     await TestCaching
     .GetOrAddAsync_TwoTimesCalledWithNoDateTimeExpire_ResultAlwaysTheSameAndGetValueFuncCalledOneTime(
         CreateCache <int, string>());
 }
 public async Task GetValueAsync_KeyNotExists_ReturnNewValueAndStoreToCache()
 {
     await TestCaching.GetValueAsync_KeyNotExists_ReturnNewValueAndStoreToCache(CreateCache <int, string>());
 }
 public async Task TryGetAsync_KeyExistsWithRegion_ReturnsTrueAndValue()
 {
     await TestCaching.TryGetAsync_KeyExistsWithRegion_ReturnsTrueAndValue(CreateCache <int, string>());
 }
 public void GetValue_KeyExists_ReturnOldValue()
 {
     TestCaching.GetValue_KeyExists_ReturnOldValue(CreateCache <int, string>());
 }
 public async Task TryGetAsync_AddOrUpdateTwoValueWithRegions_ReturnsLastValue()
 {
     await TestCaching.TryGetAsync_AddOrUpdateTwoValueWithRegions_ReturnsLastValue(CreateCache <int, string>());
 }
 public async Task GetValueAsync_KeyExists_ReturnOldValue()
 {
     await TestCaching.GetValueAsync_KeyExists_ReturnOldValue(CreateCache <int, string>());
 }
 public async Task ClearAsync_TryGetValue_ReturnFalse()
 {
     await TestCaching.ClearAsync_TryGetValue_ReturnFalse(CreateCache <int, string>());
 }
 public void Remove_WithRegionsTryGetValue_ReturnFalse()
 {
     TestCaching.Remove_WithRegionsTryGetValue_ReturnFalse(CreateCache <int, string>());
 }