public function testCanSpecifyAdditionalMethodTypesToRespondTo() { Route::allowMethod(__FUNCTION__); $map = $this->app->map('/:controller', 'bogus-callback'); $map->via(__FUNCTION__); $this->assertTrue($map->respondsTo(__FUNCTION__)); }