public async Task Can_DequeueFromList() { var queue = new Queue <T>(); var storeMembers = Factory.CreateList(); storeMembers.ForEach(x => queue.Enqueue(x)); await storeMembers.ForEachAsync(x => redis.EnqueueItemOnListAsync(List, x)); var item1 = await redis.DequeueItemFromListAsync(List); Factory.AssertIsEqual(item1, queue.Dequeue()); }