Example #1
0
 public function testCompleteRequestTransaction()
 {
     $transaction = Transaction::reference('ACCOUNT_ID', 'TRANSACTION_ID');
     $this->http->expects($this->once())->method('post')->with('/v2/accounts/ACCOUNT_ID/transactions/TRANSACTION_ID/complete', ['foo' => 'bar']);
     $this->client->completeTransaction($transaction, ['foo' => 'bar']);
 }