public S3FileStorageProvider(S3ConnectionFactory s3ConnFactory) { if (s3ConnFactory == null) throw new ArgumentNullException("s3ConnFactory"); s3ConnectionFactory = s3ConnFactory; }
public void FixtureSetup() { //// In order to test with a real S3 instance, enter the appropriate auth information below and run these tests explicitly var s3ConnectionFactory = new S3ConnectionFactory( AwsConfig.AwsAccessKey, AwsConfig.AwsSecretKey, RegionEndpoint.USEast1); providerFactory = () => new S3FileStorageProvider(s3ConnectionFactory); baseFolderName = TestSubDirectory; Initialize(); }