/**
  * {@inheritdoc}
  */
 public function setSubmitted()
 {
     $this->decoratedFormState->setSubmitted();
     return $this;
 }
Example #2
0
 /**
  * {@inheritdoc}
  */
 public function setSubmitted()
 {
     $this->mainFormState->setSubmitted();
     return $this;
 }
 /**
  * @covers ::setSubmitted
  */
 public function testSetSubmitted()
 {
     $this->decoratedFormState->setSubmitted()->shouldBeCalled();
     $this->assertSame($this->formStateDecoratorBase, $this->formStateDecoratorBase->setSubmitted());
 }