assertActionName()
assertApplicationException()
assertControllerClass()
assertControllerName()
assertMatchedRouteName()
assertModuleName()
assertModulesLoaded()
assertNotActionName()
assertNotControllerClass()
assertNotControllerName()
assertNotMatchedRouteName()
assertNotModuleName()
assertNotModulesLoaded()
assertNotResponseStatusCode()
assertResponseStatusCode()
dispatch()
getApplication()
getApplicationConfig()
getApplicationServiceLocator()
getRequest()
getResponse()
getTraceError()
getUseConsoleRequest()
reset()
setApplicationConfig()
setTraceError()
setUseConsoleRequest()
triggerApplicationEvent()
url()
getControllerFullClassName()
getResponseStatusCode()
setUp()
tearDown()
$application
$applicationConfig
$traceError
$useConsoleRequest
$usedConsoleBackup
assertActionName(string $action)
string
assertApplicationException(\Zend\Test\PHPUnit\Controller\$type $type, \Zend\Test\PHPUnit\Controller\$message $message)
\Zend\Test\PHPUnit\Controller\$type
application exception type
\Zend\Test\PHPUnit\Controller\$message
application exception message
assertControllerClass(string $controller)
string
assertControllerName(string $controller)
string
assertMatchedRouteName(string $route)
string
assertModuleName(string $module)
string
assertModulesLoaded(array $modules)
array
assertNotActionName(string $action)
string
assertNotControllerClass(string $controller)
string
assertNotControllerName(string $controller)
string
assertNotMatchedRouteName(string $route)
string
assertNotModuleName(string $module)
string
assertNotModulesLoaded(array $modules)
array
assertNotResponseStatusCode(int $code)
int
assertResponseStatusCode(int $code)
int
dispatch(string $url, string | null $method, array | null $params)
The URL provided set the request URI in the request object.
string
stringnull
arraynull
\Exception |
---|
getApplicationConfig() : array
array
the application configgetApplicationServiceLocator() : \Zend\ServiceManager\ServiceManager
getTraceError() : bool
bool
getUseConsoleRequest() : bool
bool
$booleanreset() : \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase
setApplicationConfig(array $applicationConfig) : \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase
setTraceError(bool $traceError) : \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase
setUseConsoleRequest(bool $boolean) : \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase
triggerApplicationEvent(string $eventName) : \Zend\EventManager\ResponseCollection
url(string $url, string | null $method, array | null $params) : \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase
string
stringnull
arraynull
getControllerFullClassName() : string
string
getResponseStatusCode() : int
int
setUp()
tearDown()
$applicationConfig : array
$traceError : bool
$useConsoleRequest : bool
$usedConsoleBackup : bool