public void ItemsInitializeTheirExpirationsProperlyWhenLoaded() { cache.Add("key", "value", CacheItemPriority.Normal, null, new MockExpiration()); CacheManager differentCacheManager = new CacheManagerFactory(TestConfigurationSource.GenerateConfiguration()).Create("SecondInDatabasePersistence"); differentCacheManager.Dispose(); Assert.AreEqual(1, initializationCount, "Act of creating new cache manager should have caused items to be loaded, initializing expirations"); }