Example #1
0
 /**
  * Test Exception when matching an invalid log level.
  */
 public function testInvalidArgumentExceptionWhenGettingRoute()
 {
     $router = new Router();
     $this->setExpectedException('InvalidArgumentException', "Got a log level not specified by the PSR-3 standard. Log level received: __none.");
     $router->getRouteFromLogLevel('__none');
 }