You are here

public function MinkTest::testAssertSession in Zircon Profile 8

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

File

vendor/behat/mink/tests/MinkTest.php, line 180

Class

MinkTest

Namespace

Behat\Mink\Tests

Code

public function testAssertSession() {
  $session = $this
    ->getSessionMock();
  $this->mink
    ->registerSession('my', $session);
  $this
    ->assertInstanceOf('Behat\\Mink\\WebAssert', $this->mink
    ->assertSession('my'));
}