public function testSoapArray() { $clients = Client::Soap(static::$credentials[0], static::$credentials[1], static::$services); foreach ($clients as $key => $client) { $matchingServiceName = static::$services[$key]; $this->assertInstanceOf(SoapClient::ns() . "\\{$matchingServiceName}", $client); } }
public function serviceProvider() { $data = array(); $clients = HelperClient::Soap(static::$credentials[0], static::$credentials[1], static::$services); foreach ($clients as $client) { $data[] = array($client); } return $data; }
public function getTextClient() { $client = Client::Soap($this->getUsername(), $this->getPassword(), 'Text'); return $client; }
public function getBroadcastClient() { $client = Client::Rest($this->getUsername(), $this->getPassword(), 'Broadcast'); return $client; }