public function testGetHeaderFields() { $this->assertCount(1, $this->request->getHeaderFields()); $headers = $this->request->getHeaderFields(); $this->assertSame('Content-Type: application/json', $headers[0]); }