public function testCapitalizesWithMethod() { $r = new Request('GET', '/'); $this->assertEquals('PUT', $r->withMethod('put')->getMethod()); }