public function testOutput($crumbs, $classes)
{
$b = new Breadcrumbs($crumbs, $classes);
$crawler = new Crawler($b->render());
/**
* There should only be one `ul` element.
*/
$this->assertCount(1, $crawler->filter('ul'));
/**
* There should be as many `li` elements as there are breadcrumbs in the
* original data.
*/
$this->assertCount(count($crumbs), $crawler->filter('li'));
/**
* There should be one `span.divider` less than there are breadcrumbs.
*/
$this->assertCount(count($crumbs) - 1, $crawler->filter('span.divider'));
}