public function testSetCache()
 {
     $response = new Response(new App());
     $date = date('r');
     $options = ['etag' => '12345678', 'last-modified' => $date, 'max-age' => 300, 'must-revalidate'];
     $response->setCache($options);
     $this->assertEquals('12345678', $response->getHeaderLine('ETag'));
     $this->assertEquals($date, $response->getHeaderLine('Last-Modified'));
     $this->assertEquals('max-age=300, must-revalidate', $response->getHeaderLine('Cache-Control'));
 }