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("custom storage", typeof(TestCustomCacheStore)); }
public void Then_ThrowsArgumentNullException() { ConfigureCacheManager.StoreInCustomStore("name", typeof(TestCustomCacheManager), null); }
public void Then_StoreInCustomStore_ThrowsArgumentException() { ConfigureCacheManager.StoreInCustomStore("name", typeof(object)); }
public void Then_StoreInCustomStore_ThrowsArgumentNullException() { ConfigureCacheManager.StoreInCustomStore("name", null); }
protected override void Act() { ConfigureCacheManager.StoreInCustomStore("custom storage", typeof(TestCustomCacheStore)) .EncryptUsing.SharedEncryptionProviderNamed("encryption provider"); }
public void Then_StoreInCustomStore_ThrowsArgumentException() { ConfigureCacheManager.StoreInCustomStore(null, typeof(TestCustomCacheStore)); }
protected override void Act() { ConfigureCacheManager.StoreInCustomStore <TestCustomCacheStore>("custom storage"); }