You are here

public function ResponseTest::testGetStatus in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/browser-kit/Tests/ResponseTest.php \Symfony\Component\BrowserKit\Tests\ResponseTest::testGetStatus()

File

vendor/symfony/browser-kit/Tests/ResponseTest.php, line 24

Class

ResponseTest

Namespace

Symfony\Component\BrowserKit\Tests

Code

public function testGetStatus() {
  $response = new Response('foo', 304);
  $this
    ->assertEquals('304', $response
    ->getStatus(), '->getStatus() returns the status of the response');
}