public function testFilterXPathWithFollowingAxis() { $crawler = $this->createTestCrawler()->filterXPath('//a'); $this->assertCount(0, $crawler->filterXPath('following::div'), 'The fake root node has no following nodes'); }