protected override void Act() { attributes = new NameValueCollection(); attributes.Add("key1", "value1"); attributes.Add("key2", "value2"); configureCustomSymmetricProvider = ConfigureCryptography .EncryptUsingCustomSymmetricProviderNamed <CustomSymmetricProvider>("custom symmetric provider", attributes); }
protected override void Act() { configureCustomSymmetricProvider = ConfigureCryptography .EncryptUsingCustomSymmetricProviderNamed("custom symmetric provider", typeof(CustomSymmetricProvider)); }
public void Then_EncryptUsingCustomSymmetricProviderNamed_ThrowsArgumentNullException() { ConfigureCryptography .EncryptUsingCustomSymmetricProviderNamed("name", typeof(CustomSymmetricProvider), null); }