示例#1
0
 public function TestServiceInstantiation()
 {
     // Stubbed test to keep from the testsuite from breaking
     $this->gateway = \PASL\Web\Service\Gateway::GetInstance();
     $this->service = $this->gateway->service;
     $this->assertIsA($this->service, 'PASL\\Web\\Service');
     // NOT REALLY SURE HOW TO WRITE A TEST HERE WHEN IT REQUIRES A REAL POST/GET/PUT/DELETE REQUEST
 }
示例#2
0
文件: Gateway.php 项目: how/openpasl
 public static function Main($strBasePath)
 {
     $gateway = Gateway::GetInstance();
     $gateway->service->sBaseClassPath = $strBasePath;
     $gateway->service->handle();
 }