public async Task When_lookup_for_uncached_stream_with_then_should_not_hit_cache() { string streamId = "stream"; await _store.SetStreamMetadata(streamId, ExpectedVersion.Any, 60); var maxAge = await _cache.GetMaxAge(streamId); maxAge.Value.ShouldBe(60); _cache.Count.ShouldBe(1); _cache.CacheHitCount.ShouldBe(0); }