ControllerTestCase.php
32 * @parma $addActionKey Boolean, whether to add an action key for the given action to the configuration or not (optional, default: _true_)
51 * @parma $addActionKey Boolean, whether to add an action key for the given action to the configuration or not (optional, default: _true_)
ControllerTestCase is the base class for test cases used for Controllers.
Definition: ControllerTestCase.php:22
getControllerName()
Get the fully qualified name of the controller to test.
runRequestFromThis($action, $data, $addActionKey=true)
Make a request to the controller with the controller set as sender.
Definition: ControllerTestCase.php:43
runRequest($action, $data, $addActionKey=true)
Make a request to the controller.
Definition: ControllerTestCase.php:35
DatabaseTestCase is the base class for test cases that need database support.
Definition: DatabaseTestCase.php:21
static getNewInstance($name, $dynamicConfiguration=[])
Definition: ObjectFactory.php:55
static getInstance($name, $dynamicConfiguration=[])
Definition: ObjectFactory.php:47
TestUtil provides helper methods for testing wCMF functionality.
Definition: TestUtil.php:25
static simulateRequest($request)
Process a request as if it was sent to main.php.
Definition: TestUtil.php:151
ObjectFactory implements the service locator pattern by wrapping a Factory instance and providing sta...
Definition: ObjectFactory.php:24