Example #1
0
 public function testGetPriceBlockTemplate()
 {
     $this->assertNull($this->_block->getPriceBlockTemplate());
     $this->_block->setData('price_block_template', 'test');
     $this->assertEquals('test', $this->_block->getPriceBlockTemplate());
 }
 /**
  * {@inheritdoc}
  */
 public function setData($key, $value = null)
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'setData');
     if (!$pluginInfo) {
         return parent::setData($key, $value);
     } else {
         return $this->___callPlugins('setData', func_get_args(), $pluginInfo);
     }
 }