You are here

public function SessionTest::testGetWindowNames in Zircon Profile 8

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

File

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

Class

SessionTest

Namespace

Behat\Mink\Tests

Code

public function testGetWindowNames() {
  $this->driver
    ->expects($this
    ->once())
    ->method('getWindowNames')
    ->will($this
    ->returnValue($names = array(
    'window 1',
    'window 2',
  )));
  $this
    ->assertEquals($names, $this->session
    ->getWindowNames());
}