You can set test doubles for models and resource models.
How would you do this for helpers?
Shouldn't there be a setHelperTestDouble like method that deals with the registry?
Or can I just use Mage::register('vendor_module/helper', $helperDouble, true)?
You can set test doubles for models and resource models.
How would you do this for helpers?
Shouldn't there be a
setHelperTestDoublelike method that deals with the registry?Or can I just use
Mage::register('vendor_module/helper', $helperDouble, true)?