public function testHead() { $response = $this->client->head('http://localhost:8080/yo', ['Foo: Bar']); $server = $this->getRequestData($response); $this->assertEquals('/yo', $server['uri']); $this->assertEquals('Bar', $server['headers']['Foo']); $this->assertEquals('HEAD', $server['method']); $this->assertEquals(null, $server['raw_post']); }