Esempio n. 1
0
		public void Setup()
		{
			var blobStorage = new InMemoryBlobStorage();

			blobStorage.Configure(new BlobStorageSettings());

			_blobTester = new BlobTester(blobStorage);
		}
Esempio n. 2
0
		public void Setup()
		{
			var settings = new BlobStorageSettings();

			var storageAccount = new CloudStorageAccount(
				CloudStorageAccount.DevelopmentStorageAccount.Credentials,
				CloudStorageAccount.DevelopmentStorageAccount.BlobEndpoint,
				CloudStorageAccount.DevelopmentStorageAccount.QueueEndpoint,
				CloudStorageAccount.DevelopmentStorageAccount.TableEndpoint);

			var blobStorage = new AzureBlobStorage(storageAccount);
			blobStorage.Configure(settings);

			_blobTester = new BlobTester(blobStorage);
		}