Exemple #1
0
 /**
  * @return Template
  */
 protected function _getTemplateProcessor()
 {
     if (null === $this->_templateProcessor) {
         $this->_templateProcessor = $this->_catalogData->getPageTemplateProcessor();
     }
     return $this->_templateProcessor;
 }
Exemple #2
0
 public function testGetPageTemplateProcessor()
 {
     $this->assertInstanceOf('Magento\\Framework\\Filter\\Template', $this->helper->getPageTemplateProcessor());
 }