TestCase::getMockDispatcher
Gets a mock dispatcher object.
Signature
public function getMockDispatcher([boolean
$defaults = true] )
Parameters
-
$defaults
- Add default register and trigger methods for testing.
Returns
- JEventDispatcher