eZ\Bundle\EzPublishCoreBundle\Tests\Imagine\IORepositoryResolverTest::setUp PHP Method

setUp() protected method

protected setUp ( )
    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);
    }