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