You are here

public function ResponseTest::testIsInformational in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/ResponseTest.php \Symfony\Component\HttpFoundation\Tests\ResponseTest::testIsInformational()

File

vendor/symfony/http-foundation/Tests/ResponseTest.php, line 699

Class

ResponseTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testIsInformational() {
  $response = new Response('', 100);
  $this
    ->assertTrue($response
    ->isInformational());
  $response = new Response('', 200);
  $this
    ->assertFalse($response
    ->isInformational());
}