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