public function testResendRequestTransaction() { $transaction = Transaction::reference('ACCOUNT_ID', 'TRANSACTION_ID'); $this->http->expects($this->once())->method('post')->with('/v2/accounts/ACCOUNT_ID/transactions/TRANSACTION_ID/resend', ['foo' => 'bar']); $this->client->resendTransaction($transaction, ['foo' => 'bar']); }