protected function getContentTypeHandler() { if (!isset($this->contentTypeHandler)) { $this->contentTypeHandler = new ContentTypeHandler(new ContentTypeGateway($this->getDatabaseHandler(), $this->getLanguageMaskGenerator()), new ContentTypeMapper($this->getConverterRegistry()), $this->getMock('eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\Type\\Update\\Handler')); } return $this->contentTypeHandler; }