You are here

public function SessionTest::testSetRequestHeader in Zircon Profile 8.0

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

File

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

Class

SessionTest

Namespace

Behat\Mink\Tests

Code

public function testSetRequestHeader() {
  $this->driver
    ->expects($this
    ->once())
    ->method('setRequestHeader')
    ->with('name', 'value');
  $this->session
    ->setRequestHeader('name', 'value');
}