Example #1
0
 /**
  * Test that getConfig method retrieve Varien_Object object
  */
 public function testGetConfig()
 {
     // we have to set strict error reporting mode and enable mage developer mode to convert notice to exception
     error_reporting(E_ALL | E_STRICT);
     ini_set('display_errors', 1);
     Mage::setIsDeveloperMode(true);
     $this->assertInstanceOf('Varien_Object', $this->_block->getConfig());
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('unirgy/udprod/vendor/product/renderer/downloadable/samples.phtml');
 }