public function SessionTest::testGetCurrentUrl in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/tests/SessionTest.php \Behat\Mink\Tests\SessionTest::testGetCurrentUrl()
File
- vendor/
behat/ mink/ tests/ SessionTest.php, line 185
Class
Namespace
Behat\Mink\TestsCode
public function testGetCurrentUrl() {
$this->driver
->expects($this
->once())
->method('getCurrentUrl')
->will($this
->returnValue($ret = 'http://some.url'));
$this
->assertEquals($ret, $this->session
->getCurrentUrl());
}