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