/** * (RFC 2616 / 14.9.4) * * @test */ public function mustRevalidateAndProxyRevalidateAreRenderedCorrectly() { $headers = new Headers(); $headers->setCacheControlDirective('must-revalidate'); $this->assertEquals('must-revalidate', $headers->get('Cache-Control')); $headers->removeCacheControlDirective('must-revalidate'); $headers->setCacheControlDirective('proxy-revalidate'); $this->assertEquals('proxy-revalidate', $headers->get('Cache-Control')); }