Exemple #1
0
 public function __construct($apiKey)
 {
     $this->transactionApi = ApiFactory::make($apiKey, 'transaction');
 }
 public function testThrowExceptionOnWrongResource()
 {
     $this->expectException(InvalidResourceException::class);
     ApiFactory::make('testkey', 'unvalid');
 }