isTest() public method

Return whether the transaction is in test mode
public isTest ( ) : boolean
return boolean
Example #1
0
 public function testIsTest()
 {
     $p = new Payment(new Authorize('API_LOGIN_ID', 'TRANS_KEY', Payment::TEST));
     $this->assertTrue($p->isTest());
 }