public void EnsureCacheWidthSlidingLifetime_ReturnCorrectObject()
        {
            var redisCacheProvider = new RedisCacheProvider(connection.GetDatabase(), connection.GetServer("127.0.0.1:6379"));

            redisCacheProvider.EnsureWithSlidingLifetime(Key, new TimeSpan(0, 0, 20), () => { return(Value); });
            var valueFromCache = redisCacheProvider.Get <string>(Key);

            Assert.Equal(Value, valueFromCache);
        }