Exemplo n.º 1
0
 public function testUnsetCallChild()
 {
     $blockOne = new Mage_Core_Block_Template();
     $blockOne->setSomeValue(true);
     $this->_block->setChild('block1', $blockOne);
     $this->assertSame($blockOne, $this->_block->getChild('block1'));
     $this->_block->unsetCallChild('block1', 'getSomeValue', true, array());
     $this->assertNotSame($blockOne, $this->_block->getChild('block1'));
 }