/** * @return \Magento\Framework\Phrase|string */ protected function getTitle() { return $this->blockMock->getId() ? $this->blockMock->getTitle() : __('New Block'); }