/** * {@inheritdoc} */ public function setMethod($method) { $this->decoratedFormState->setMethod($method); return $this; }
/** * {@inheritdoc} */ public function setMethod($method) { $this->mainFormState->setMethod($method); return $this; }
/** * @covers ::setMethod * * @dataProvider providerSingleBooleanArgument * * @param bool $method */ public function testSetMethod($method) { $this->decoratedFormState->setMethod($method)->shouldBecalled(); $this->assertSame($this->formStateDecoratorBase, $this->formStateDecoratorBase->setMethod($method)); }