public function SessionTest::testEvaluateScript in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/behat/mink/tests/SessionTest.php \Behat\Mink\Tests\SessionTest::testEvaluateScript()
File
- vendor/
behat/ mink/ tests/ SessionTest.php, line 274
Class
Namespace
Behat\Mink\TestsCode
public function testEvaluateScript() {
$this->driver
->expects($this
->once())
->method('evaluateScript')
->with($arg = 'JS func')
->will($this
->returnValue($ret = '23'));
$this
->assertEquals($ret, $this->session
->evaluateScript($arg));
}