示例#1
0
 /**
  * @param $response
  *
  * @return Payment
  */
 protected function factoryPaymentResponse(Response $response)
 {
     return $this->getSerializer()->deserialize($response->getBody(true), Payment::getClass(), RequestFormat::JSON);
 }
 public function testLookupPayment()
 {
     $this->assertInstanceOf(Payment::getClass(), $this->client->lookupPayment($this->payment->getId()));
 }
 public function testExecutePayment()
 {
     $this->markTestIncomplete();
     $this->assertInstanceOf(Payment::getClass(), $this->client->executePayment($this->payment));
 }