public function testDispatcherWithUrlRewriteWithPlugin()
 {
     $this->container['request'] = new Request($this->container, array('PHP_SELF' => '/kanboard/index.php', 'REQUEST_URI' => '/kanboard/my/plugin/route/123?myvar=value1', 'QUERY_STRING' => 'myvar=value1', 'REQUEST_METHOD' => 'GET'), array('myvar' => 'value1'));
     $this->container['route'] = new Route($this->container);
     $this->container['route']->enable();
     $dispatcher = new Router($this->container);
     $this->container['route']->addRoute('/my/plugin/route/:param', 'fakeController', 'myAction', 'Myplugin');
     $this->assertInstanceOf('\\Kanboard\\Plugin\\Myplugin\\Controller\\FakeController', $dispatcher->dispatch());
     $this->assertEquals('FakeController', $dispatcher->getController());
     $this->assertEquals('myAction', $dispatcher->getAction());
     $this->assertEquals('Myplugin', $dispatcher->getPlugin());
     $this->assertEquals('value1', $this->container['request']->getStringParam('myvar'));
     $this->assertEquals('123', $this->container['request']->getStringParam('param'));
 }