/**
  * @covers ::getResumeContextResponse
  *
  * @depends testGetPayment
  */
 public function testGetResumeContextResponse()
 {
     $response = $this->getMock(ResponseInterface::class);
     $payment = $this->getMock(PaymentInterface::class);
     $this->sut->setPayment($payment);
     $this->sut->expects($this->atLeastOnce())->method('doGetResumeContextResponse')->willReturn($response);
     $this->eventDispatcher->expects($this->once())->method('preResumeContext')->with($payment);
     $this->assertSame($response, $this->sut->getResumeContextResponse());
 }