public void ExpectFailureOnNullBuilderWithClient()
 {
     Assert.Throws <ArgumentNullException>(() => DataProtectionBuilderExtensions.ProtectKeysWithAwsKms(null,
                                                                                                       repository.Create <IAmazonKeyManagementService>().Object,
                                                                                                       new KmsXmlEncryptorConfig("keyId")));
 }
 public void ExpectFailureOnNullBuilder()
 {
     Assert.Throws <ArgumentNullException>(() => DataProtectionBuilderExtensions.ProtectKeysWithAwsKms(null, new KmsXmlEncryptorConfig("keyId")));
 }