Method |
Description |
|
__get ( $name ) |
|
|
ajaxRequest ( string $http_method, array | string $argv, array $params = [] ) |
Request to Controller using ajax request |
|
assertRedirect ( string $uri, integer $code = null ) |
Asserts Redirect |
|
assertResponseCode ( integer $code ) |
Asserts HTTP response code |
|
assertResponseCookie ( string $name, string | array $value, boolean $allow_duplicate = false ) |
Asserts HTTP response cookie |
|
assertResponseHeader ( string $name, string $value ) |
Asserts HTTP response header |
|
getDouble ( string $classname, array $params, boolean $enable_constructor = false ) : object |
Get Mock Object |
|
newController ( string $classname ) : CI_Controller |
Create a controller instance |
|
request ( string $http_method, array | string $argv, array $params = [] ) |
Request to Controller |
|
resetInstance ( ) |
Reset CodeIgniter instance and assign new CodeIgniter instance as $this->CI |
|
setCI ( CI_Controller $CI ) |
|
|
setUpBeforeClass ( ) |
|
|
verifyInvoked ( object $mock, string $method, array $params = null ) |
Verifies a method was invoked at least once |
|
verifyInvokedMultipleTimes ( object $mock, string $method, integer $times, array $params = null ) |
Verifies that method was called exactly $times times |
|
verifyInvokedOnce ( object $mock, string $method, array $params = null ) |
Verifies that method was invoked only once |
|
verifyNeverInvoked ( object $mock, string $method, array $params = null ) |
Verifies that method was not called |
|
warningOff ( ) |
|
|
warningOn ( ) |
|
|