You are here

public function SessionTest::testGetCookie in Zircon Profile 8.0

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

File

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

Class

SessionTest

Namespace

Behat\Mink\Tests

Code

public function testGetCookie() {
  $this->driver
    ->expects($this
    ->once())
    ->method('getCookie')
    ->with('name')
    ->will($this
    ->returnValue('value'));
  $this
    ->assertEquals('value', $this->session
    ->getCookie('name'));
}