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