/** * test match * * @return void */ public function testMatch() { $route = new RedirectRoute('/home', ['controller' => 'posts']); $this->assertFalse($route->match(['controller' => 'posts', 'action' => 'index'])); }