public function CrawlerTest::testFilterXPathWithParentAxis in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dom-crawler/Tests/CrawlerTest.php \Symfony\Component\DomCrawler\Tests\CrawlerTest::testFilterXPathWithParentAxis()
File
- vendor/
symfony/ dom-crawler/ Tests/ CrawlerTest.php, line 568
Class
Namespace
Symfony\Component\DomCrawler\TestsCode
public function testFilterXPathWithParentAxis() {
$crawler = $this
->createTestCrawler()
->filterXPath('//button');
$this
->assertCount(0, $crawler
->filterXPath('parent::*'), 'The fake root node has no parent nodes');
}