public function testMixedCaseRouting()
 {
     $routeMock = $this->getMock('stdClass', array('callback'));
     $routeMock->expects($this->once())->method('callback');
     $noMatchMock = $this->getMock('stdClass', array('callback'));
     $noMatchMock->expects($this->never())->method('callback');
     $r = new Router();
     $r->add('/case/sensitive/route', array(), array($noMatchMock, 'callback'));
     $r->addRoute(new CaseInsensitiveRoute('/case/insensitive/route'), array($routeMock, 'callback'));
     $r->route('/Case/INSENSITIVE/RoUtE');
 }
 /**
  * @expectedException Kunststube\Router\NotFoundException
  */
 public function testNoRouteMatchException()
 {
     $r = new Router();
     $r->route('/foo');
 }