eZ\Publish\Core\Persistence\Legacy\Tests\Content\ContentHandlerTest::getContentHandler PHP Method

getContentHandler() protected method

Returns the handler to test.
protected getContentHandler ( ) : Handler
return eZ\Publish\Core\Persistence\Legacy\Content\Handler
    protected function getContentHandler()
    {
        if (!isset($this->contentHandler)) {
            $this->contentHandler = new Handler($this->getGatewayMock(), $this->getLocationGatewayMock(), $this->getMapperMock(), $this->getFieldHandlerMock(), $this->getSlugConverterMock(), $this->getUrlAliasGatewayMock(), $this->getContentTypeHandlerMock(), $this->getTreeHandlerMock());
        }
        return $this->contentHandler;
    }