Exemple #1
0
 public function testWithoutHeaderThatDoesNotExist()
 {
     $response = new Response(200, ['Baz' => 'Bam']);
     $response2 = $response->withoutHeader('foO');
     $this->assertSame($response, $response2);
     $this->assertFalse($response2->hasHeader('foo'));
     $this->assertSame(['Baz' => ['Bam']], $response2->getHeaders());
 }