eZ\Publish\Core\MVC\Symfony\Routing\Tests\GeneratorTest::setUp PHP Method

setUp() protected method

protected setUp ( )
    protected function setUp()
    {
        parent::setUp();
        $this->siteAccessRouter = $this->getMock('eZ\\Publish\\Core\\MVC\\Symfony\\SiteAccess\\SiteAccessRouterInterface');
        $this->logger = $this->getMock('Psr\\Log\\LoggerInterface');
        $this->generator = $this->getMockForAbstractClass('eZ\\Publish\\Core\\MVC\\Symfony\\Routing\\Generator');
        $this->generator->setSiteAccessRouter($this->siteAccessRouter);
        $this->generator->setLogger($this->logger);
    }