protected function getContentUpdaterMock() { if (!isset($this->contentUpdaterMock)) { $this->contentUpdaterMock = $this->getMock('eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\Type\\ContentUpdater', array(), array(), '', false); } return $this->contentUpdaterMock; }