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

testFilterRemovesDuplicates() public method

    public function testFilterRemovesDuplicates()
    {
        $crawler = $this->createTestCrawler()->filter('html, body')->filter('li');
        $this->assertCount(6, $crawler, 'The crawler removes duplicates when filtering.');
    }
CrawlerTest