You are here

public function HttpCacheTest::testShouldCatchExceptions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/HttpCache/HttpCacheTest.php \Symfony\Component\HttpKernel\Tests\HttpCache\HttpCacheTest::testShouldCatchExceptions()

File

vendor/symfony/http-kernel/Tests/HttpCache/HttpCacheTest.php, line 1013

Class

HttpCacheTest

Namespace

Symfony\Component\HttpKernel\Tests\HttpCache

Code

public function testShouldCatchExceptions() {
  $this
    ->catchExceptions();
  $this
    ->setNextResponse();
  $this
    ->request('GET', '/');
  $this
    ->assertExceptionsAreCaught();
}