You are here

public function NodeElementTest::testGetXpath in Zircon Profile 8

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

File

vendor/behat/mink/tests/Element/NodeElementTest.php, line 9

Class

NodeElementTest

Namespace

Behat\Mink\Tests\Element

Code

public function testGetXpath() {
  $node = new NodeElement('some custom xpath', $this->session);
  $this
    ->assertEquals('some custom xpath', $node
    ->getXpath());
  $this
    ->assertNotEquals('not some custom xpath', $node
    ->getXpath());
}