You are here

protected function SessionTest::setUp in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/behat/mink/tests/SessionTest.php \Behat\Mink\Tests\SessionTest::setUp()
  2. 8.0 vendor/symfony/http-foundation/Tests/Session/SessionTest.php \Symfony\Component\HttpFoundation\Tests\Session\SessionTest::setUp()
Same name and namespace in other branches
  1. 8 vendor/behat/mink/tests/SessionTest.php \Behat\Mink\Tests\SessionTest::setUp()

File

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

Class

SessionTest

Namespace

Behat\Mink\Tests

Code

protected function setUp() {
  $this->driver = $this
    ->getMockBuilder('Behat\\Mink\\Driver\\DriverInterface')
    ->getMock();
  $this->selectorsHandler = $this
    ->getMockBuilder('Behat\\Mink\\Selector\\SelectorsHandler')
    ->getMock();
  $this->session = new Session($this->driver, $this->selectorsHandler);
}