function FormStateDecoratorBaseTest::testIsRebuilding
Tests is rebuilding.
@legacy-covers ::isRebuilding
Attributes
#[DataProvider('providerSingleBooleanArgument')]
File
-
core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php, line 1529
Class
Namespace
Drupal\Tests\Core\FormCode
public function testIsRebuilding($rebuild) : void {
$this->decoratedFormState
->isRebuilding()
->willReturn($rebuild)
->shouldBeCalled();
$this->assertSame($rebuild, $this->formStateDecoratorBase
->isRebuilding());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.