public function MinkTest::testGetNoDefaultSession in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/tests/MinkTest.php \Behat\Mink\Tests\MinkTest::testGetNoDefaultSession()
File
- vendor/
behat/ mink/ tests/ MinkTest.php, line 137
Class
Namespace
Behat\Mink\TestsCode
public function testGetNoDefaultSession() {
$session1 = $this
->getSessionMock();
$this->mink
->registerSession('session_1', $session1);
$this
->setExpectedException('InvalidArgumentException');
$this->mink
->getSession();
}