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