예제 #1
0
 public function testCancelRequestTransaction()
 {
     $transaction = Transaction::reference('ACCOUNT_ID', 'TRANSACTION_ID');
     $this->http->expects($this->once())->method('delete')->with('/v2/accounts/ACCOUNT_ID/transactions/TRANSACTION_ID', ['foo' => 'bar']);
     $this->client->cancelTransaction($transaction, ['foo' => 'bar']);
 }