예제 #1
0
파일: IVRTest.php 프로젝트: tpweb/targetpay
 public function testGetTransaction()
 {
     $targetPay = new TargetPay(null, $this->config);
     $targetPay->setTransaction(new \TPWeb\TargetPay\Transaction\IVR());
     $this->assertEquals("IVR", $targetPay->getTransaction(true));
 }
예제 #2
0
 /**
  * @expectedException TPWeb\TargetPay\Exception\TransactionTypeException
  */
 public function testGetTransaction()
 {
     $targetPay = new TargetPay(null, $this->config);
     $targetPay->getTransaction();
 }