public function NodeElementTest::testSelectOptionOtherTag in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/tests/Element/NodeElementTest.php \Behat\Mink\Tests\Element\NodeElementTest::testSelectOptionOtherTag()
File
- vendor/
behat/ mink/ tests/ Element/ NodeElementTest.php, line 345
Class
Namespace
Behat\Mink\Tests\ElementCode
public function testSelectOptionOtherTag() {
$node = new NodeElement('div', $this->session);
$this->driver
->expects($this
->once())
->method('getTagName')
->with('div')
->will($this
->returnValue('div'));
$this->driver
->expects($this
->once())
->method('selectOption')
->with('div', 'item1', false);
$node
->selectOption('item1');
}