public async Task ListTestAsync() { const string key = "redPocket"; await _redis.EnqueueAsync(key, 4.8); await _redis.EnqueueAsync(key, 5.2); var pockets = await _redis.PeekRangeAsync <string>(key, 1, 1); Assert.Equal("5.2", pockets.FirstOrDefault()); Assert.Equal("4.8", await _redis.DequeueAsync <string>(key)); Assert.Equal("5.2", await _redis.DequeueAsync <string>(key)); }