You are here

public function ResponseTest::testGetStatus in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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');
}