public function RadioTest::testIsChecked in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/driver-testsuite/tests/Form/RadioTest.php \Behat\Mink\Tests\Driver\Form\RadioTest::testIsChecked()
File
- vendor/
behat/ mink/ driver-testsuite/ tests/ Form/ RadioTest.php, line 14
Class
Namespace
Behat\Mink\Tests\Driver\FormCode
public function testIsChecked() {
$option = $this
->findById('first');
$option2 = $this
->findById('second');
$this
->assertTrue($option
->isChecked());
$this
->assertFalse($option2
->isChecked());
$option2
->selectOption('updated');
$this
->assertFalse($option
->isChecked());
$this
->assertTrue($option2
->isChecked());
}