protected function folderInFolderMethodStubs()
 {
     $this->blobRestProxy->listBlobs(Arg::cetera())->will(function () {
         $prophet = new Prophet();
         $listBlobsResult = $prophet->prophesize(ListBlobsResult::class);
         $listBlobsResult->getBlobs()->will(function () {
             $prophet = new Prophet();
             $getBlobResult = $prophet->prophesize(Blob::class);
             $getBlobResult->getName()->will(function () {
                 return 'bar/test.txt';
             });
             $getBlobResult2 = $prophet->prophesize(Blob::class);
             $getBlobResult2->getName()->will(function () {
                 return 'bar/test2/';
             });
             $getBlobResult3 = $prophet->prophesize(Blob::class);
             $getBlobResult3->getName()->will(function () {
                 return 'bar/foo/baz/';
             });
             $getBlobResult4 = $prophet->prophesize(Blob::class);
             $getBlobResult4->getName()->will(function () {
                 return 'bar/foo/';
             });
             $getBlobResult5 = $prophet->prophesize(Blob::class);
             $getBlobResult5->getName()->will(function () {
                 return 'bar/';
             });
             return [$getBlobResult->reveal(), $getBlobResult2->reveal(), $getBlobResult3->reveal(), $getBlobResult4->reveal(), $getBlobResult5->reveal()];
         });
         return $listBlobsResult->reveal();
     });
 }
 /**
  * @param string $sourceFolderIdentifier
  * @return array
  */
 protected function getBlobsFromFolder($sourceFolderIdentifier)
 {
     $blobs = [];
     $options = new ListBlobsOptions();
     $options->setPrefix($sourceFolderIdentifier);
     $blobListResult = $this->blobRestProxy->listBlobs($this->container, $options);
     if (is_object($blobListResult)) {
         $blobs = $blobListResult->getBlobs();
     }
     return $blobs;
 }