/**
  * {@inheritdoc}
  */
 public function isCached()
 {
     return $this->decoratedFormState->isCached();
 }
Example #2
0
 /**
  * {@inheritdoc}
  */
 public function isCached()
 {
     return $this->mainFormState->isCached();
 }
 /**
  * @covers ::isCached
  *
  * @dataProvider providerSingleBooleanArgument
  *
  * @param bool $cache
  */
 public function testIsCached($cache)
 {
     $this->decoratedFormState->isCached()->willReturn($cache)->shouldBeCalled();
     $this->assertSame($cache, $this->formStateDecoratorBase->isCached());
 }