Permalink
Browse files

[單元測試] 下載 Blob

  • Loading branch information...
1 parent ec3b356 commit fe083b525cebe45853cf536f98a0520d1b7f9259 Sam.IO.Hsiao committed Aug 14, 2016
Showing with 15 additions and 0 deletions.
  1. +15 −0 tests/AzureBlobServiceUnitTest.php
@@ -58,4 +58,19 @@ public function 顯示所有Blob()
];
$this->assertEquals($expected, $actual);
}
+
+ /** @test */
+ public function 下載Blob()
+ {
+ /** arrange */
+
+ /** act */
+ $containerName = 'mycontainer';
+ $blobName = 'myblob';
+ $actual = $this->target->downloadBlob($containerName, $blobName);
+
+ /** assert */
+ $expected = true;
+ $this->assertEquals($expected, $actual);
+ }
}

0 comments on commit fe083b5

Please sign in to comment.