/**
  * @param string $pathInfo
  * @param int    $count
  * @param string $name0
  * @param string $name1
  * @param string $name2
  * @param string $name3
  *
  * @dataProvider provideLongUrlPattern
  */
 public function testFindByPathInfoWithLongUrl($pathInfo, $count, $name0, $name1, $name2, $name3)
 {
     $routes = $this->repository->findByPathInfo($pathInfo);
     $this->assertCount($count, $routes);
     $this->assertSame($name0, $routes[0]->getName());
     $this->assertSame($name1, $routes[1]->getName());
     $this->assertSame($name2, $routes[2]->getName());
     $this->assertSame($name3, $routes[3]->getName());
 }
 /**
  * @param string $siteId
  * @param int    $count
  *
  * @dataProvider provideSiteIdCount
  */
 public function testFindBySiteId($siteId, $count)
 {
     $this->assertCount($count, $this->repository->findBySiteId($siteId));
 }