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