You are here

public function WebAssertTest::setUp in Zircon Profile 8

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

File

vendor/behat/mink/tests/WebAssertTest.php, line 19

Class

WebAssertTest

Namespace

Behat\Mink\Tests

Code

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);
}