protected function getContentTypeServiceMock() { if (!isset($this->contentTypeServiceMock)) { $this->contentTypeServiceMock = $this->getMock('eZ\\Publish\\Core\\REST\\Client\\ContentTypeService', array(), array(), '', false); } return $this->contentTypeServiceMock; }