Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

Test case block

Vadim Justus edited this page Jun 25, 2014 · 6 revisions

TechDivision_MagentoUnitTesting_TestCase_Block

The block test case is designt for testing the block classes. It initiates a mock instance of Mage_Core_Helper_Data by default and implement functionality to the escapeHtml method.

To get access to the core helper mock you can use the key core-helper.

$helperMock = $this->getRegisteredMock('core-helper');