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 controller 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 you which key you can use and what mock you will get.
Example:
$mock = $this->getRegisteredMock('some-key');
There are additional public methods provided by the test case.
/** * Add mocked block instance to layout * * @param string $nameInLayout * @param string $blockClassName */ public function addMockedBlockToLayout($nameInLayout, $blockClassName) {}