Zend\Test\PHPUnit\Controller\AbstractHttpControllerTestCase::queryCountAssertion
Assert against DOM/XPath selection; should contain exact number of nodes
Signature
private function queryCountAssertion(string
$path,
[string
$count = false,
[bool
$useXpath = false]] )
Parameters
$path
— string- CSS selector path
$count
— string- Number of nodes that should match
$useXpath
— object