forked from techdivision/TechDivision_MagentoUnitTesting
-
Notifications
You must be signed in to change notification settings - Fork 0
Test case block
Vadim Justus edited this page Jun 26, 2014
·
6 revisions
The block test case is designed for testing the block classes.
The test case initiates mock objects during the setup process.
Use the method getRegisteredMock()
to get access to the mock instances.
The following list shows you which key you can use and what mock you will get.
Key | Class |
---|---|
core-helper | Mage_Core_Helper_Data |
Example:
$mock = $this->getRegisteredMock('some-key');
There aren't any additional public methods provided by the test case.