array('foo/bar'))); $this->assertTrue($route->handles('foo/*')); $this->assertTrue($route->handles('foo/bar')); $this->assertFalse($route->handles('baz')); $route = new Laravel\Routing\Route('GET /', array('handles' => array('/', 'home'))); $this->assertTrue($route->handles('/')); $this->assertTrue($route->handles('home')); $this->assertFalse($route->handles('foo')); } }