function FormStateDecoratorBaseTest::testIsCached
@covers ::isCached
@dataProvider providerSingleBooleanArgument
File
-
core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php, line 143
Class
- FormStateDecoratorBaseTest
- @coversDefaultClass \Drupal\Core\Form\FormStateDecoratorBase[[api-linebreak]]
Namespace
Drupal\Tests\Core\FormCode
public function testIsCached($cache) : void {
$this->decoratedFormState
->isCached()
->willReturn($cache)
->shouldBeCalled();
$this->assertSame($cache, $this->formStateDecoratorBase
->isCached());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.