/**
  * @test
  */
 public function getPath()
 {
     foreach ($this->getImages() as $path) {
         $captcha = FilesystemImageCaptcha::fromPath($path);
         $this->assertEquals($path, $captcha->getPath());
     }
 }
 /**
  * @test
  */
 public function requestSolutionForCaptcha()
 {
     /* @var \PHPUnit_Framework_MockObject_MockObject|DeathByCaptchaInterface $deathByCaptcha */
     $deathByCaptcha = $this->getMock(DeathByCaptchaInterface::class);
     $root = vfsStream::setup();
     $root->addChild(new vfsStreamFile('1.jpg'));
     $captcha = FilesystemImageCaptcha::fromPath($root->url() . '/1.jpg');
     $transform = new TransformFilesystemImageToBase64($deathByCaptcha);
     $transform->requestSolutionForCaptcha($captcha);
     $this->assertFalse($root->hasChild('1.jpg'));
 }