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

            var members = await redis.GetAllItemsFromSetAsync(Set);

            Assert.That(members, Is.EquivalentTo(storeMembers));
        }