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

            var setCount = await redis.GetSetCountAsync(Set);

            Assert.That(setCount, Is.EqualTo(storeMembers.Count));
        }