Exemplo n.º 1
0
        public async Task Clear()
        {
            await this.Adds();

            await _distributedCache.ClearAsync();

            var keys = await _distributedCache.GetKeysAsync();

            Xunit.Assert.True(keys.Count() == 0);
        }