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; }