Payum\Paypal\ExpressCheckout\Nvp\Tests\ApiTest::shouldUseReturnUrlSetInFormRequest PHP Метод

shouldUseReturnUrlSetInFormRequest() публичный Метод

    public function shouldUseReturnUrlSetInFormRequest()
    {
        $api = new Api(array('username' => 'a_username', 'password' => 'a_password', 'signature' => 'a_signature', 'sandbox' => true, 'return_url' => 'optionReturnUrl', 'cancel_url' => 'optionCancelUrl'), $this->createSuccessHttpClientStub(), $this->createHttpMessageFactory());
        $result = $api->setExpressCheckout(array('RETURNURL' => 'formRequestReturnUrl'));
        $this->assertEquals('formRequestReturnUrl', $result['RETURNURL']);
    }