상속: implements Neos\Flow\ResourceManagement\Target\TargetInterface
 /**
  * @test
  * @expectedException \Neos\Flow\ResourceManagement\Target\Exception
  */
 public function getPublicPersistentResourceUriThrowsExceptionIfBaseUriCantBeResolved()
 {
     $mockBootstrap = $this->getMockBuilder(Bootstrap::class)->disableOriginalConstructor()->getMock();
     $mockCommandRequestHandler = $this->getMockBuilder(CommandRequestHandler::class)->disableOriginalConstructor()->getMock();
     $mockBootstrap->expects($this->any())->method('getActiveRequestHandler')->will($this->returnValue($mockCommandRequestHandler));
     $this->inject($this->fileSystemTarget, 'bootstrap', $mockBootstrap);
     /** @var PersistentResource|\PHPUnit_Framework_MockObject_MockObject $mockResource */
     $mockResource = $this->getMockBuilder(PersistentResource::class)->disableOriginalConstructor()->getMock();
     $this->fileSystemTarget->getPublicStaticResourceUri($mockResource);
 }
 /**
  * Set an option value and return if it was set.
  *
  * @param string $key
  * @param mixed $value
  * @return boolean
  */
 protected function setOption($key, $value)
 {
     if ($key === 'relativeSymlinks') {
         $this->relativeSymlinks = (bool) $value;
         return true;
     }
     return parent::setOption($key, $value);
 }