/** * Tests preparation of a given directory * @throws \Exception */ public function testPrepareDirOriginal() { $imgPath = $this->imageService->imgPath(\Media\Service\Image::ORIGINAL, $this->imageId, $this->imageEntityData['extension']); $this->assertTrue($this->imageService->prepareDir($imgPath)); }