public function testHelperMockWasRegistered() { $this->_subject->setHelper('core/data', new stdClass()); $this->assertInstanceOf('stdClass', Mage::helper('core/data')); }
public function testSetHelperWithDataSuffixAndCalledWithout() { $this->_subject->setHelper('core/data', new stdClass()); $this->assertInstanceOf('stdClass', Mage::helper('core')); }