You are here

public function WebAssertTest::testAddressEqualsEmptyPath in Zircon Profile 8

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

File

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

Class

WebAssertTest

Namespace

Behat\Mink\Tests

Code

public function testAddressEqualsEmptyPath() {
  $this->session
    ->expects($this
    ->once())
    ->method('getCurrentUrl')
    ->willReturn('http://example.com');
  $this
    ->assertCorrectAssertion('addressEquals', array(
    '/',
  ));
}