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 }
public static function Main($strBasePath) { $gateway = Gateway::GetInstance(); $gateway->service->sBaseClassPath = $strBasePath; $gateway->service->handle(); }