/**
  * {@inheritdoc}
  */
 public function getResponse()
 {
     return $this->decoratedFormState->getResponse();
 }
Example #2
0
 /**
  * {@inheritdoc}
  */
 public function getResponse()
 {
     return $this->mainFormState->getResponse();
 }
 /**
  * @covers ::getResponse
  */
 public function testGetResponse()
 {
     $response = $this->getMock(Response::class);
     $this->decoratedFormState->getResponse()->willReturn($response)->shouldBeCalled();
     $this->assertSame($response, $this->formStateDecoratorBase->getResponse());
 }