public async Task Create_Container_Put_File_Read_Back() { var blobContainer = new AzureBlobContainer(_context, "test-container"); string srcFileName = "easy-query256.png"; await blobContainer.UploadFromStreamAsync(srcFileName, GetResourceAsStream(srcFileName)); string destFileName = "__fileFromBlob.png"; using (var fileFromBlob = new FileStream(destFileName, FileMode.Create)) { await blobContainer.DownloadToStreamAsync(srcFileName, fileFromBlob); fileFromBlob.Flush(); } Assert.IsTrue(File.Exists(destFileName)); await blobContainer.DeleteContainerAsync(); }