/**
  * @param string $fileIdentifier
  * @return bool|GetBlobResult
  * @TODO removed error handling as 404 is ok (check file existence before creation) and currently can't be differentiated
  * @throws \TYPO3\CMS\Core\Exception
  */
 protected function getBlob($fileIdentifier)
 {
     try {
         $blob = $this->blobRestProxy->getBlob($this->container, $fileIdentifier);
     } catch (ServiceException $e) {
         return false;
     }
     return $blob;
 }
 protected function getFileOrFolderInfoMethodMocks($fileOrFolder)
 {
     $blobPropertiesProphecy = $this->prophesize(BlobProperties::class);
     $blobPropertiesProphecy->getLastModified()->willReturn(new \DateTime());
     $blobPropertiesProphecy->getContentLength()->willReturn(new \DateTime());
     $blobProperties = $blobPropertiesProphecy->reveal();
     $blobProphecy = $this->prophesize(GetBlobResult::class);
     $blobProphecy->getProperties()->willReturn($blobProperties);
     $this->blobRestProxy->getBlob(Arg::any(), $fileOrFolder)->willReturn($blobProphecy->reveal());
 }