public function FormStateDecoratorBaseTest::testSetProgrammed in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php \Drupal\Tests\Core\Form\FormStateDecoratorBaseTest::testSetProgrammed()
@covers ::setProgrammed
@dataProvider providerSingleBooleanArgument
Parameters
bool $programmed:
File
- core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php, line 478
Class
- FormStateDecoratorBaseTest
- @coversDefaultClass \Drupal\Core\Form\FormStateDecoratorBase
Namespace
Drupal\Tests\Core\FormCode
public function testSetProgrammed($programmed) {
$this->decoratedFormState
->setProgrammed($programmed)
->shouldBecalled();
$this
->assertSame($this->formStateDecoratorBase, $this->formStateDecoratorBase
->setProgrammed($programmed));
}