You are here

public function RadioTest::testSelectOption in Zircon Profile 8.0

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

File

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

Class

RadioTest

Namespace

Behat\Mink\Tests\Driver\Form

Code

public function testSelectOption() {
  $option = $this
    ->findById('first');
  $this
    ->assertEquals('set', $option
    ->getValue());
  $option
    ->selectOption('updated');
  $this
    ->assertEquals('updated', $option
    ->getValue());
  $option
    ->selectOption('set');
  $this
    ->assertEquals('set', $option
    ->getValue());
}