eZ\Publish\Core\Persistence\Legacy\Tests\Content\UrlAlias\SlugConverterTest::getSlugConverterMock PHP Method

getSlugConverterMock() protected method

protected getSlugConverterMock ( array $methods = [] ) : SlugConverter | PHPUnit_Framework_MockObject_MockObject
$methods array
return eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\SlugConverter | PHPUnit_Framework_MockObject_MockObject
    protected function getSlugConverterMock(array $methods = array())
    {
        if (!isset($this->slugConverterMock)) {
            $this->slugConverterMock = $this->getMock('eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\UrlAlias\\SlugConverter', $methods, array($this->getTransformationProcessorMock(), $this->configuration));
        }
        return $this->slugConverterMock;
    }