You are here

public function SessionTest::testGetStatusCode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/tests/SessionTest.php \Behat\Mink\Tests\SessionTest::testGetStatusCode()

File

vendor/behat/mink/tests/SessionTest.php, line 175

Class

SessionTest

Namespace

Behat\Mink\Tests

Code

public function testGetStatusCode() {
  $this->driver
    ->expects($this
    ->once())
    ->method('getStatusCode')
    ->will($this
    ->returnValue($ret = 404));
  $this
    ->assertEquals($ret, $this->session
    ->getStatusCode());
}