public function __construct($route, $controller, $action) { parent::__construct('PUT', $route, $controller, $action); }
/** * @dataProvider providerInvalidRouteAndPath */ public function testIsValidPath_ReturnsFalseForInvalidRouteAndPath($routeName, $path) { $route = new Named('GET', $routeName, 'Controller', 'action'); $this->assertFalse($route->isValidPath($path)); }