Payum\Paypal\ExpressCheckout\Nvp\Tests\ApiTest::shouldGetRealAuthorizeUrlIfSandboxFalse PHP Method

shouldGetRealAuthorizeUrlIfSandboxFalse() public method

    public function shouldGetRealAuthorizeUrlIfSandboxFalse()
    {
        $api = new Api(array('username' => 'a_username', 'password' => 'a_password', 'signature' => 'a_signature', 'sandbox' => false), $this->createHttpClientMock(), $this->createHttpMessageFactory());
        $this->assertEquals('https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=theToken', $api->getAuthorizeTokenUrl('theToken'));
    }