/** * {@inheritdoc} */ public function getButtons() { return $this->decoratedFormState->getButtons(); }
/** * {@inheritdoc} */ public function getButtons() { return $this->mainFormState->getButtons(); }
/** * @covers ::getButtons */ public function testGetButtons() { $buttons = ['FOO' => 'BAR']; $this->decoratedFormState->getButtons()->willReturn($buttons)->shouldBeCalled(); $this->assertSame($buttons, $this->formStateDecoratorBase->getButtons()); }