/** * @covers \Core\Response\Response::setContentDisposition */ public function testSetContentDispositionWithValues() { $response = new Response(); $response->setContentDisposition("attachment", ["filename" => "somefile.txt"]); $this->assertSame("attachment; filename=\"somefile.txt\"", $response->getHeader('Content-Disposition')); }