/** * @covers \Core\Response\Response::setContentEncoding */ public function testSetContentEncodingWithValue() { $response = new Response(); $response->setContentEncoding('deflate'); $this->assertSame('deflate', $response->getHeader('Content-Encoding')); }