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