private void ClearCache(MockCache cache)
 {
     cache.GetCacheContents().Clear();
 }
 private void AssertCacheDoesNotContainsParsedTopic(MockCache cache, ParsedTopic parsedTopic)
 {
     Assert.IsFalse(cache.GetCacheContents().ContainsValue(parsedTopic),
         "Checking that cache does not contain parsed topic.");
 }
 private void AssertCacheDoesNotContainTopicChanges(MockCache mockCache, QualifiedTopicName qualifiedTopicName)
 {
     throw new Exception("The method or operation is not implemented.");
 }
 private void AssertCacheContainsParsedTopic(MockCache cache, ParsedTopic parsedTopic)
 {
     Assert.IsTrue(cache.GetCacheContents().ContainsValue(parsedTopic),
         "Checking that cache contains parsed topic.");
 }