protected override void Act()
        {
            attributes = new NameValueCollection();
            attributes.Add("key1", "value1");
            attributes.Add("key2", "value2");

            configureCustomHashProvider = ConfigureCryptography
                                          .EncryptUsingCustomHashProviderNamed <CustomHashProvider>("custom hash provider", attributes);
        }
 protected override void Act()
 {
     configureCustomHashProvider = ConfigureCryptography
                                   .EncryptUsingCustomHashProviderNamed("custom hash provider", typeof(CustomHashProvider));
 }
 public void Then_EncryptUsingCustomHashProviderNamed_ThrowsArgumentNullException()
 {
     ConfigureCryptography
     .EncryptUsingCustomHashProviderNamed("name", typeof(CustomHashProvider), null);
 }