public function testOptions() { $route = $this->app->options('/path', function () { /* do nothing */ }); $this->assertEquals([Request::METHOD_OPTIONS], $route->getMethods()); }