diff options
Diffstat (limited to 'vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/AbstractCommandTest.php')
-rw-r--r-- | vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/AbstractCommandTest.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/AbstractCommandTest.php b/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/AbstractCommandTest.php new file mode 100644 index 0000000..1004fae --- /dev/null +++ b/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/AbstractCommandTest.php @@ -0,0 +1,16 @@ +<?php + +namespace Guzzle\Tests\Service\Command; + +use Guzzle\Service\Client; +use Guzzle\Service\Description\ServiceDescription; + +abstract class AbstractCommandTest extends \Guzzle\Tests\GuzzleTestCase +{ + protected function getClient() + { + $client = new Client('http://www.google.com/'); + + return $client->setDescription(ServiceDescription::factory(__DIR__ . '/../../TestData/test_service.json')); + } +} |