public function testSetDispatcher()
 {
     $this->router->setDispatcher(\FastRoute\simpleDispatcher(function ($r) {
         $r->addRoute('GET', '/', function () {
         });
     }));
     $class = new \ReflectionClass($this->router);
     $prop = $class->getProperty('dispatcher');
     $prop->setAccessible(true);
     $this->assertInstanceOf('\\FastRoute\\Dispatcher', $prop->getValue($this->router));
 }