public function CrawlerTest::testFilterXPathWithPrecedingSiblingAxis 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::testFilterXPathWithPrecedingSiblingAxis()
File
- vendor/
symfony/ dom-crawler/ Tests/ CrawlerTest.php, line 582
Class
Namespace
Symfony\Component\DomCrawler\TestsCode
public function testFilterXPathWithPrecedingSiblingAxis() {
$crawler = $this
->createTestCrawler()
->filterXPath('//form');
$this
->assertCount(0, $crawler
->filterXPath('preceding-sibling::*'), 'The fake root node has no preceding nodes');
}