You are here

public function SessionTest::testGetResponseHeaders in Zircon Profile 8.0

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

File

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

Class

SessionTest

Namespace

Behat\Mink\Tests

Code

public function testGetResponseHeaders() {
  $this->driver
    ->expects($this
    ->once())
    ->method('getResponseHeaders')
    ->will($this
    ->returnValue($ret = array(
    2,
    3,
    4,
  )));
  $this
    ->assertEquals($ret, $this->session
    ->getResponseHeaders());
}