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