public function testGetRouteCollectionForRequestEmpty()
 {
     $request = Request::create('/my/path');
     $this->candidatesMock->expects($this->once())->method('getCandidates')->with($request)->will($this->returnValue(array()));
     $this->objectRepositoryMock->expects($this->never())->method('findByStaticPrefix');
     $routeProvider = new RouteProvider($this->managerRegistryMock, $this->candidatesMock, 'Route');
     $collection = $routeProvider->getRouteCollectionForRequest($request);
     $this->assertInstanceOf('Symfony\\Component\\Routing\\RouteCollection', $collection);
     $this->assertCount(0, $collection);
 }