public function testOptions() { $this->app->options('/test-options', 'test-handler'); $this->assertEquals(['method' => 'OPTIONS', 'route' => '/test-options', 'handler' => 'test-handler'], $this->app->getRouter()->getRoutingTable()[0]); }