Beispiel #1
0
        public async Task Can_PopFromSet()
        {
            var storeMembers = Factory.CreateList();
            await storeMembers.ForEachAsync(async x => await redis.AddItemToSetAsync(Set, x));

            var member = await redis.PopItemFromSetAsync(Set);

            Assert.That(storeMembers.Contains(member), Is.True);
        }