Symfony\Component\DomCrawler\Tests\CrawlerTest::testFilterXPathWithFollowingAxis PHP Method

testFilterXPathWithFollowingAxis() public method

    public function testFilterXPathWithFollowingAxis()
    {
        $crawler = $this->createTestCrawler()->filterXPath('//a');

        $this->assertCount(0, $crawler->filterXPath('following::div'), 'The fake root node has no following nodes');
    }
CrawlerTest