protected function getContentTypeMock() { if (!isset($this->contentTypeMock)) { $this->contentTypeMock = $this->getMock('eZ\\Publish\\API\\Repository\\Values\\ContentType\\ContentType', array(), array(), '', false); } return $this->contentTypeMock; }