Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function setSubmitted()
 {
     $this->decoratedFormState->setSubmitted();
     return $this;
 }
Exemplo n.º 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());
 }