Re: Payment_Process2
| From: | Michael Gauthier | Date: | Mon, 23 Feb 2009 16:04:52 +0000 |
| Subject: | Re: Payment_Process2 | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-51554@lists.php.net to get a copy of this message | ||
Daniel wrote:
> Mike, quick one, is Payment_Paypal_SOAP easily mockable? There's a
> Paypal driver in Payment_Process (could be completely different APIs,
> this is just a 10000ft review); it could save me lots of time if there
> was already something around...
It's possible to mock SOAP requests, but it could be made easier.
Currently, I think you would have to sub-class the client and override
the getSoapClient() method.
I'm open to making this easier.
Cheers,
Mike