assertActionName()
assertApplicationException()
assertControllerClass()
assertControllerName()
assertHasResponseHeader()
assertMatchedRouteName()
assertModuleName()
assertModulesLoaded()
assertNotActionName()
assertNotControllerClass()
assertNotControllerName()
assertNotHasResponseHeader()
assertNotMatchedRouteName()
assertNotModuleName()
assertNotModulesLoaded()
assertNotQuery()
assertNotQueryContentContains()
assertNotQueryContentRegex()
assertNotQueryCount()
assertNotRedirect()
assertNotRedirectRegex()
assertNotRedirectTo()
assertNotResponseHeaderContains()
assertNotResponseHeaderRegex()
assertNotResponseStatusCode()
assertNotTemplateName()
assertNotXpathQuery()
assertNotXpathQueryContentContains()
assertNotXpathQueryContentRegex()
assertNotXpathQueryCount()
assertQuery()
assertQueryContentContains()
assertQueryContentRegex()
assertQueryCount()
assertQueryCountMax()
assertQueryCountMin()
assertRedirect()
assertRedirectRegex()
assertRedirectTo()
assertResponseHeaderContains()
assertResponseHeaderRegex()
assertResponseReasonPhrase()
assertResponseStatusCode()
assertTemplateName()
assertXpathQuery()
assertXpathQueryContentContains()
assertXpathQueryContentRegex()
assertXpathQueryCount()
assertXpathQueryCountMax()
assertXpathQueryCountMin()
dispatch()
getApplication()
getApplicationConfig()
getApplicationServiceLocator()
getRequest()
getResponse()
getTraceError()
getUseConsoleRequest()
registerXpathNamespaces()
reset()
setApplicationConfig()
setTraceError()
setUseConsoleRequest()
triggerApplicationEvent()
url()
getControllerFullClassName()
getResponseHeader()
getResponseStatusCode()
searchTemplates()
setUp()
tearDown()
notQueryAssertion()
notQueryContentContainsAssertion()
notQueryContentRegexAssertion()
notQueryCountAssertion()
query()
queryAssertion()
queryContentContainsAssertion()
queryContentRegexAssertion()
queryCount()
queryCountAssertion()
queryCountMaxAssertion()
queryCountMinAssertion()
xpathQuery()
xpathQueryCount()
$application
$applicationConfig
$traceError
$useConsoleRequest
$usedConsoleBackup
$xpathNamespaces
assertActionName(string $action)
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::assertActionName() |
---|
string
assertApplicationException(\Zend\Test\PHPUnit\Controller\$type $type, \Zend\Test\PHPUnit\Controller\$message $message)
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::assertApplicationException() |
---|
\Zend\Test\PHPUnit\Controller\$type
application exception type
\Zend\Test\PHPUnit\Controller\$message
application exception message
assertControllerClass(string $controller)
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::assertControllerClass() |
---|
string
assertControllerName(string $controller)
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::assertControllerName() |
---|
string
assertHasResponseHeader(string $header)
string
assertMatchedRouteName(string $route)
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::assertMatchedRouteName() |
---|
string
assertModuleName(string $module)
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::assertModuleName() |
---|
string
assertModulesLoaded(array $modules)
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::assertModulesLoaded() |
---|
array
assertNotActionName(string $action)
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::assertNotActionName() |
---|
string
assertNotControllerClass(string $controller)
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::assertNotControllerClass() |
---|
string
assertNotControllerName(string $controller)
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::assertNotControllerName() |
---|
string
assertNotHasResponseHeader(string $header)
string
assertNotMatchedRouteName(string $route)
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::assertNotMatchedRouteName() |
---|
string
assertNotModuleName(string $module)
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::assertNotModuleName() |
---|
string
assertNotModulesLoaded(array $modules)
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::assertNotModulesLoaded() |
---|
array
assertNotQuery(string $path)
string
CSS selector path
assertNotQueryContentContains(string $path, string $match)
string
CSS selector path
string
content that should NOT be contained in matched nodes
assertNotQueryContentRegex(string $path, string $pattern)
string
CSS selector path
string
pattern that should NOT be contained in matched nodes
assertNotQueryCount(string $path, string $count)
string
CSS selector path
string
Number of nodes that should NOT match
assertNotRedirect()
assertNotRedirectRegex(string $pattern)
string
assertNotRedirectTo(string $url)
string
assertNotResponseHeaderContains(string $header, string $match)
string
string
assertNotResponseHeaderRegex(string $header, string $pattern)
string
string
assertNotResponseStatusCode(int $code)
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::assertNotResponseStatusCode() |
---|
int
assertNotTemplateName(string $templateName)
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::assertNotTemplateName() |
---|
string
assertNotXpathQuery(string $path)
string
XPath path
assertNotXpathQueryContentContains(string $path, string $match)
string
XPath path
string
content that should NOT be contained in matched nodes
assertNotXpathQueryContentRegex(string $path, string $pattern)
string
XPath path
string
pattern that should NOT be contained in matched nodes
assertNotXpathQueryCount(string $path, string $count)
string
XPath path
string
Number of nodes that should NOT match
assertQuery(string $path)
string
CSS selector path
assertQueryContentContains(string $path, string $match)
string
CSS selector path
string
content that should be contained in matched nodes
assertQueryContentRegex(string $path, string $pattern)
string
CSS selector path
string
Pattern that should be contained in matched nodes
assertQueryCount(string $path, string $count)
string
CSS selector path
string
Number of nodes that should match
assertQueryCountMax(string $path, string $count)
string
CSS selector path
string
Maximum number of nodes that should match
assertQueryCountMin(string $path, string $count)
string
CSS selector path
string
Minimum number of nodes that should match
assertRedirect()
assertRedirectRegex(string $pattern)
string
assertRedirectTo(string $url)
string
assertResponseHeaderContains(string $header, string $match)
string
string
assertResponseHeaderRegex(string $header, string $pattern)
string
string
assertResponseReasonPhrase(string $phrase)
string
assertResponseStatusCode(int $code)
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::assertResponseStatusCode() |
---|
int
assertTemplateName(string $templateName)
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::assertTemplateName() |
---|
string
assertXpathQuery(string $path)
string
XPath path
assertXpathQueryContentContains(string $path, string $match)
string
XPath path
string
content that should be contained in matched nodes
assertXpathQueryContentRegex(string $path, string $pattern)
string
XPath path
string
Pattern that should be contained in matched nodes
assertXpathQueryCount(string $path, string $count)
string
XPath path
string
Number of nodes that should match
assertXpathQueryCountMax(string $path, string $count)
string
XPath path
string
Maximum number of nodes that should match
assertXpathQueryCountMin(string $path, string $count)
string
XPath path
string
Minimum number of nodes that should match
dispatch(string $url, string | null $method, array | null $params, $isXmlHttpRequest)
The URL provided set the request URI in the request object.
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::dispatch() |
---|
string
stringnull
arraynull
\Exception |
---|
getApplication() : \Zend\Mvc\ApplicationInterface
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::getApplication() |
---|
getApplicationConfig() : array
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::getApplicationConfig() |
---|
array
the application configgetApplicationServiceLocator() : \Zend\ServiceManager\ServiceManager
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::getApplicationServiceLocator() |
---|
getRequest() : \Zend\Stdlib\RequestInterface
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::getRequest() |
---|
getResponse() : \Zend\Stdlib\ResponseInterface
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::getResponse() |
---|
getTraceError() : bool
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::getTraceError() |
---|
bool
getUseConsoleRequest() : bool
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::getUseConsoleRequest() |
---|
bool
$booleanregisterXpathNamespaces(array $xpathNamespaces)
array
reset($keepPersistence) : \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::reset() |
---|
setApplicationConfig(array $applicationConfig) : \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::setApplicationConfig() |
---|
array
\Zend\Stdlib\Exception\LogicException |
---|
setTraceError(bool $traceError) : \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::setTraceError() |
---|
bool
setUseConsoleRequest(bool $boolean) : \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::setUseConsoleRequest() |
---|
bool
triggerApplicationEvent(string $eventName) : \Zend\EventManager\ResponseCollection
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::triggerApplicationEvent() |
---|
string
url(string $url, string | null $method, array | null $params) : \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::url() |
---|
string
stringnull
arraynull
getControllerFullClassName() : string
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::getControllerFullClassName() |
---|
string
getResponseHeader(string $header) : \Zend\Http\Header\HeaderInterface | false
getResponseStatusCode() : int
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::getResponseStatusCode() |
---|
int
searchTemplates(\Zend\View\Model\ModelInterface $viewModel, string $templateName) : boolean
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::searchTemplates() |
---|
\Zend\View\Model\ModelInterface
string
boolean
setUp()
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::setUp() |
---|
tearDown()
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::tearDown() |
---|
notQueryAssertion(string $path, bool $useXpath)
string
CSS selector path
bool
notQueryContentContainsAssertion(string $path, string $match, bool $useXpath)
string
CSS selector path
string
content that should NOT be contained in matched nodes
bool
notQueryContentRegexAssertion(string $path, string $pattern, bool $useXpath)
string
CSS selector path
string
pattern that should NOT be contained in matched nodes
bool
notQueryCountAssertion(string $path, string $count, bool $useXpath)
string
CSS selector path
string
Number of nodes that should NOT match
bool
queryAssertion(string $path, bool $useXpath)
string
bool
queryContentContainsAssertion(string $path, string $match, bool $useXpath)
string
CSS selector path
string
content that should be contained in matched nodes
bool
queryContentRegexAssertion(string $path, string $pattern, bool $useXpath)
string
CSS selector path
string
Pattern that should be contained in matched nodes
bool
queryCount(string $path) : int
string
int
queryCountAssertion(string $path, string $count, bool $useXpath)
string
CSS selector path
string
Number of nodes that should match
bool
queryCountMaxAssertion(string $path, string $count, bool $useXpath)
string
CSS selector path
string
Maximum number of nodes that should match
bool
queryCountMinAssertion(string $path, string $count, bool $useXpath)
string
CSS selector path
string
Minimum number of nodes that should match
bool
xpathQuery(string $path) : array
string
array
xpathQueryCount(string $path) : int
string
int
$application : \Zend\Mvc\ApplicationInterface
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::$$application |
---|
$applicationConfig : array
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::$$applicationConfig |
---|
$traceError : bool
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::$$traceError |
---|
$useConsoleRequest : bool
$usedConsoleBackup : bool
inherited_from | \Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::$$usedConsoleBackup |
---|
$xpathNamespaces : array