public function WebAssertTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/tests/WebAssertTest.php \Behat\Mink\Tests\WebAssertTest::setUp()
File
- vendor/
behat/ mink/ tests/ WebAssertTest.php, line 19
Class
Namespace
Behat\Mink\TestsCode
public function setUp() {
$this->session = $this
->getMockBuilder('Behat\\Mink\\Session')
->disableOriginalConstructor()
->getMock();
$this->session
->expects($this
->any())
->method('getDriver')
->will($this
->returnValue($this
->getMock('Behat\\Mink\\Driver\\DriverInterface')));
$this->assert = new WebAssert($this->session);
}