We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The test case is designed for testing observer model classes.
The test case initiates mock objects during the setup process. Use the method getRegisteredMock() to get access to the mock instances.
getRegisteredMock()
The following list shows which key you can use and what mock you will get.
Example:
$mock = $this->getRegisteredMock('some-key');
There are additional public methods provided by that test case.
/** * @param string $key * @param mixed $value */ public function addEventData($key, $value) {} /** * @return PHPUnit_Framework_MockObject_MockObject|Varien_Event_Observer */ public function getVarienObserverMock() {} /** * @return PHPUnit_Framework_MockObject_MockObject|Varien_Event */ public function getVarienEventMock() {}