public function test_auth_with_applepay()
 {
     $hash_in = array('id' => 'id', 'orderId' => '2111', 'amount' => '123', 'secondaryAmount' => '2000', 'orderSource' => 'ecommerce', 'applepay' => array('data' => 'string data here', 'header' => 'header stuff here', 'signature' => 'signature', 'version' => 'version 1'));
     $hash_out = Transactions::createAuthHash($hash_in);
     $this->assertEquals($hash_in, array_intersect($hash_in, $hash_out));
 }
 public function test_auth_debtRepayment()
 {
     $hash_in = array('card' => array('type' => 'VI', 'number' => '4100000000000001', 'expDate' => '1213'), 'orderId' => '12344', 'amount' => '2', 'orderSource' => 'ecommerce', 'fraudFilterOverride' => 'true', 'debtRepayment' => 'true');
     $hash_out = Transactions::createAuthHash($hash_in);
     $this->assertEquals($hash_in, array_intersect($hash_in, $hash_out));
 }