public async Task DistributedCache_Get_and_Set_IntAsync() { // arrange var key = "foo-int"; var expected = int.MaxValue; // act await _cache.SetAsync(key, expected, _option); var actual = await _cache.GetIntAsync(key); // assert Assert.Equal(expected, actual); }