Open Journal Systems  3.3.0
AbstractCommandTest.php
1 <?php
2 
4 
7 
9 {
10  protected function getClient()
11  {
12  $client = new Client('http://www.google.com/');
13 
14  return $client->setDescription(ServiceDescription::factory(__DIR__ . '/../../TestData/test_service.json'));
15  }
16 }
Guzzle\Tests\Service\Command\AbstractCommandTest
Definition: AbstractCommandTest.php:8
Guzzle\Tests\GuzzleTestCase
Definition: GuzzleTestCase.php:22
Guzzle\Service\Client
Definition: lib/vendor/guzzle/guzzle/src/Guzzle/Service/Client.php:25
Guzzle\Service\Description\ServiceDescription\factory
static factory($config, array $options=array())
Definition: ServiceDescription.php:65
Guzzle\Service\Description\ServiceDescription
Definition: ServiceDescription.php:11
Guzzle\Tests\Service\Command
Definition: AbstractCommandTest.php:3
Guzzle\Tests\Service\Command\AbstractCommandTest\getClient
getClient()
Definition: AbstractCommandTest.php:10