You are here

public function NodeElementTest::testWaitForFailure 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::testWaitForFailure()

@expectedException \InvalidArgumentException

File

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

Class

NodeElementTest

Namespace

Behat\Mink\Tests\Element

Code

public function testWaitForFailure() {
  $node = new NodeElement('some xpath', $this->session);
  $node
    ->waitFor(5, 'not a callable');
}