public function testLookupPayment()
 {
     $this->assertInstanceOf(Payment::getClass(), $this->client->lookupPayment($this->payment->getId()));
 }
 /**
  * Execute an approved PayPal payment by Payment
  *
  * @param Payment $payment
  *
  * @return Payment
  */
 public function executePayment(Payment $payment)
 {
     return $this->executePaymentByIds($payment->getId(), $payment->getPayer()->getPayerInfo()->getPayerId());
 }