public function testPurchase()
 {
     /**
      * @var PurchaseResponse $response
      */
     $response = $this->gateway->purchase($this->options)->send();
     $this->assertFalse($response->isSuccessful());
     $this->assertTrue($response->isRedirect());
     $this->assertNotEmpty($response->getRedirectUrl());
     $redirectData = $response->getRedirectData();
     $this->assertSame('https://www.example.com/return', $redirectData['return_url']);
 }