public void SportEventCacheStatusTest() { var status = _sportEventCache.CacheStatus(); Assert.AreEqual(0, status["SportEventCI"]); Assert.AreEqual(0, status["CompetitionCI"]); Assert.AreEqual(0, status["DrawCI"]); Assert.AreEqual(0, status["LotteryCI"]); Assert.AreEqual(0, status["TournamentInfoCI"]); Assert.AreEqual(0, status["MatchCI"]); Assert.AreEqual(0, status["StageCI"]); var tournaments = _sportEventCache.GetActiveTournamentsAsync().Result; // initial load Assert.IsNotNull(tournaments); status = _sportEventCache.CacheStatus(); Assert.AreEqual(213, status["TournamentInfoCI"]); Assert.AreEqual(974, status["MatchCI"]); }