public async Task Refresh_Async_Should_Succeed() { var cacheKey = Guid.NewGuid().ToString(); var cacheValue = "value"; var cacheBytes = new byte[] { 0x01 }; await _provider.SetAsync(cacheKey, cacheValue, _defaultTs); var tmp = await _provider.GetAsync <string>(cacheKey); Assert.Equal("value", tmp.Value); var newValue = "NewValue"; await _provider.RefreshAsync(cacheKey, newValue, _defaultTs); var act = await _provider.GetAsync <string>(cacheKey); Assert.Equal("NewValue", act.Value); }