You are here

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

File

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

Class

NodeElementTest

Namespace

Behat\Mink\Tests\Element

Code

public function testKeyPress() {
  $node = new NodeElement('elem', $this->session);
  $this->driver
    ->expects($this
    ->once())
    ->method('keyPress')
    ->with('elem', 'key');
  $node
    ->keyPress('key');
}