You are here

public function SessionTest::testSetCookie in Zircon Profile 8

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

File

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

Class

SessionTest

Namespace

Behat\Mink\Tests

Code

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