コード例 #1
0
 public function test_captureGivenAuth_debtRepayment_optional()
 {
     $hash_in = array('amount' => '2', 'id' => 'id', 'orderSource' => 'ecommerce', 'orderId' => '3', 'merchantData' => array('campaign' => 'foo'));
     $hash_out = Transactions::createCaptureGivenAuthHash($hash_in);
     $this->assertEquals($hash_in, array_intersect($hash_in, $hash_out));
 }