protected override void Act() { attributes = new NameValueCollection(); attributes.Add("key1", "value1"); attributes.Add("key2", "value2"); ConfigureCacheManager.StoreInCustomStore <TestCustomCacheStore>("custom storage", attributes); }
protected override void Act() { ConfigureCacheManager.StoreInCustomStore <TestCustomCacheStore>("custom storage"); }
public void Then_ThrowsArgumentException() { ConfigureCacheManager.StoreInSharedBackingStore(null); }
public void Then_ThrowsArgumentException() { ConfigureCacheManager.StoreInIsolatedStorage(""); }
public void Then_ThrowsArgumentNullException() { ConfigureCacheManager.StoreInCustomStore("name", typeof(TestCustomCacheManager), null); }
protected override void Act() { ConfigureCacheManager.StoreCacheMangerItemsInDatabase("database storage") .UseSharedDatabaseNamed("test connection"); }
protected override void Act() { ConfigureCacheManager.StoreInIsolatedStorage("isolated storage"); }
public void Then_StoreInCustomStore_ThrowsArgumentNullException() { ConfigureCacheManager.StoreInCustomStore("name", null); }
public void Then_ThrowsArgumentException() { ConfigureCacheManager.StoreInIsolatedStorage("isolated storage") .UsePartition(null); }
protected override void Act() { ConfigureCacheManager.StoreInIsolatedStorage("isolated storage") .EncryptUsing.SharedEncryptionProviderNamed("shared encryption provider"); }
public void Then_ThrowsArgumentException() { ConfigureCacheManager.StoreCacheMangerItemsInDatabase("instance name").UsePartition(null); }
public void Then_ThrowsArgumentException() { ConfigureCacheManager.StoreCacheMangerItemsInDatabase(null); }
protected override void Act() { ConfigureCacheManager.StoreCacheMangerItemsInDatabase("database storage") .EncryptUsing.SharedEncryptionProviderNamed("encryption provider"); }
public void Then_StoreInCustomStore_ThrowsArgumentException() { ConfigureCacheManager.StoreInCustomStore(null, typeof(TestCustomCacheStore)); }
protected override void Act() { ConfigureCacheManager.StoreInIsolatedStorage("isolated storage") .UsePartition("partition"); }
protected override void Act() { ConfigureCacheManager.StoreInCustomStore("custom storage", typeof(TestCustomCacheStore)) .EncryptUsing.SharedEncryptionProviderNamed("encryption provider"); }
protected override void Act() { ConfigureCacheManager = ConfigureCacheManager.UseAsDefaultCache(); }
public void Then_StoreInCustomStore_ThrowsArgumentException() { ConfigureCacheManager.StoreInCustomStore("name", typeof(object)); }
protected override void Act() { ConfigureCacheManager.StoreInSharedBackingStore("shared Store"); }
protected override void Act() { ConfigureCacheManager.StoreInCustomStore("custom storage", typeof(TestCustomCacheStore)); }
protected override void Act() { ConfigureCacheManager.StoreCacheMangerItemsInDatabase("database storage") .UsePartition("partition"); }