You are here

public function RadioTest::testSetValue in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/driver-testsuite/tests/Form/RadioTest.php \Behat\Mink\Tests\Driver\Form\RadioTest::testSetValue()

File

vendor/behat/mink/driver-testsuite/tests/Form/RadioTest.php, line 43

Class

RadioTest

Namespace

Behat\Mink\Tests\Driver\Form

Code

public function testSetValue() {
  $option = $this
    ->findById('first');
  $this
    ->assertEquals('set', $option
    ->getValue());
  $option
    ->setValue('updated');
  $this
    ->assertEquals('updated', $option
    ->getValue());
  $this
    ->assertFalse($option
    ->isChecked());
}