/**
  * {@inheritdoc}
  */
 public function getButtons()
 {
     return $this->decoratedFormState->getButtons();
 }
Example #2
0
 /**
  * {@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());
 }