Beispiel #1
0
 public void ExpectFailureOnNullBuilderWithClient()
 {
     Assert.Throws <ArgumentNullException>(() => DataProtectionBuilderExtensions.PersistKeysToAwsS3(null,
                                                                                                    repository.Create <IAmazonS3>().Object,
                                                                                                    new S3XmlRepositoryConfig("bucket")));
 }
Beispiel #2
0
 public void ExpectFailureOnNullBuilder()
 {
     Assert.Throws <ArgumentNullException>(() => DataProtectionBuilderExtensions.PersistKeysToAwsS3(null, new S3XmlRepositoryConfig("bucketName")));
 }