eZ\Publish\Core\MVC\Symfony\View\Tests\ViewManagerTest::setUp PHP Method

setUp() protected method

protected setUp ( )
    protected function setUp()
    {
        parent::setUp();
        $this->templateEngineMock = $this->getMock('Symfony\\Component\\Templating\\EngineInterface');
        $this->eventDispatcherMock = $this->getMock('Symfony\\Component\\EventDispatcher\\EventDispatcherInterface');
        $this->repositoryMock = $this->getMockBuilder('eZ\\Publish\\Core\\Repository\\Repository')->disableOriginalConstructor()->getMock();
        $this->configResolverMock = $this->getMock('eZ\\Publish\\Core\\MVC\\ConfigResolverInterface');
        $this->viewConfigurator = $this->getMock('eZ\\Publish\\Core\\MVC\\Symfony\\View\\Configurator');
        $this->viewManager = new Manager($this->templateEngineMock, $this->eventDispatcherMock, $this->repositoryMock, $this->configResolverMock, $this->viewBaseLayout, $this->viewConfigurator);
    }