public setConfigResolver ( eZ\Publish\Core\MVC\ConfigResolverInterface $configResolver ) | ||
$configResolver | eZ\Publish\Core\MVC\ConfigResolverInterface |
protected function setUp() { parent::setUp(); $this->configResolver = $this->getMock('\\eZ\\Publish\\Core\\MVC\\ConfigResolverInterface'); $this->filterConfiguration = new FilterConfiguration(); $this->filterConfiguration->setConfigResolver($this->configResolver); }
protected function setUp() { parent::setUp(); $this->ioService = $this->getMock('eZ\\Publish\\Core\\IO\\IOServiceInterface'); $this->requestContext = new RequestContext(); $this->configResolver = $this->getMock('eZ\\Publish\\Core\\MVC\\ConfigResolverInterface'); $this->filterConfiguration = new FilterConfiguration(); $this->filterConfiguration->setConfigResolver($this->configResolver); $this->imageResolver = new IORepositoryResolver($this->ioService, $this->requestContext, $this->filterConfiguration); }
protected function setUp() { parent::setUp(); $this->ioService = $this->getMock('eZ\\Publish\\Core\\IO\\IOServiceInterface'); $this->requestContext = new RequestContext(); $this->configResolver = $this->getMock('eZ\\Publish\\Core\\MVC\\ConfigResolverInterface'); $this->filterConfiguration = new FilterConfiguration(); $this->filterConfiguration->setConfigResolver($this->configResolver); $this->variationPurger = $this->getMock('eZ\\Publish\\SPI\\Variation\\VariationPurger'); $this->variationPathGenerator = $this->getMock('eZ\\Bundle\\EzPublishCoreBundle\\Imagine\\VariationPathGenerator'); $this->imageResolver = new IORepositoryResolver($this->ioService, $this->requestContext, $this->filterConfiguration, $this->variationPurger, $this->variationPathGenerator); }