public function testProviderNoMatch() {
$request = Request::create('/path/one');
$routeCollection = new RouteCollection();
$this->provider
->expects($this
->once())
->method('getRouteCollectionForRequest')
->with($request)
->will($this
->returnValue($routeCollection));
$this->finalMatcher
->expects($this
->never())
->method('finalMatch');
$matcher = new NestedMatcher($this->provider);
$matcher
->setFinalMatcher($this->finalMatcher);
$this
->setExpectedException('Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException');
$matcher
->matchRequest($request);
}