@expectedException \Symfony\Component\Routing\Exception\ResourceNotFoundException
public function testMatchNotFound() {
$url = '/test';
list($low, $high) = $this
->createRouterMocks();
$high
->expects($this
->once())
->method('match')
->with($url)
->will($this
->throwException(new \Symfony\Component\Routing\Exception\ResourceNotFoundException()));
$low
->expects($this
->once())
->method('match')
->with($url)
->will($this
->throwException(new \Symfony\Component\Routing\Exception\ResourceNotFoundException()));
$this->router
->add($low, 10);
$this->router
->add($high, 100);
$this->router
->match('/test');
}