public function NodeElementTest::testIsChecked 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::testIsChecked()
File
- vendor/
behat/ mink/ tests/ Element/ NodeElementTest.php, line 424
Class
Namespace
Behat\Mink\Tests\ElementCode
public function testIsChecked() {
$node = new NodeElement('some_xpath', $this->session);
$this->driver
->expects($this
->exactly(2))
->method('isChecked')
->with('some_xpath')
->will($this
->onConsecutiveCalls(true, false));
$this
->assertTrue($node
->isChecked());
$this
->assertFalse($node
->isChecked());
}