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