public function testSetSharedMaxAge() { $response = new Response(); $response ->setSharedMaxAge(20); $cacheControl = $response->headers ->get('Cache-Control'); $this ->assertEquals('public, s-maxage=20', $cacheControl); }