/**
  * Asserts that caching is denied on the private image style download route.
  *
  * @dataProvider providerPrivateImageStyleDownloadPolicy
  * @covers ::check
  */
 public function testPrivateImageStyleDownloadPolicy($expected_result, $route_name)
 {
     $this->routeMatch->expects($this->once())->method('getRouteName')->will($this->returnValue($route_name));
     $actual_result = $this->policy->check($this->response, $this->request);
     $this->assertSame($expected_result, $actual_result);
 }