Exemplo n.º 1
0
        public async Task Does_SetContainsValue()
        {
            var storeMembers = Factory.CreateList();
            await storeMembers.ForEachAsync(async x => await redis.AddItemToSetAsync(Set, x));

            Assert.That(await redis.SetContainsItemAsync(Set, Factory.ExistingValue), Is.True);
            Assert.That(await redis.SetContainsItemAsync(Set, Factory.NonExistingValue), Is.False);
        }