private void AssertCacheDoesNotContainsParsedTopic(MockCache cache, ParsedTopic parsedTopic) { Assert.IsFalse(cache.GetCacheContents().ContainsValue(parsedTopic), "Checking that cache does not contain parsed topic."); }
private void AssertCacheContainsParsedTopic(MockCache cache, ParsedTopic parsedTopic) { Assert.IsTrue(cache.GetCacheContents().ContainsValue(parsedTopic), "Checking that cache contains parsed topic."); }