コード例 #1
0
 public function test_simple_unload()
 {
     $hash_in = array('id' => 'id', 'orderId' => '1', 'amount' => '2', 'orderSource' => 'ECOMMERCE', 'card' => array('type' => 'VI', 'number' => '4100000000000000', 'expDate' => '1213', 'cardValidationNum' => '1213'));
     $hash_out = Transactions::createUnloadHash($hash_in);
     $this->assertEquals($hash_in, array_intersect($hash_in, $hash_out));
 }