You are here

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

File

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

Class

NodeElementTest

Namespace

Behat\Mink\Tests\Element

Code

public function testSubmitForm() {
  $node = new NodeElement('some_xpath', $this->session);
  $this->driver
    ->expects($this
    ->once())
    ->method('submitForm')
    ->with('some_xpath');
  $node
    ->submit();
}