www.gusucode.com > KPPW众包威客PHP开源建站系统 v3.0源码程序 > KPPW/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/AbstractCommandTest.php
<?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')); } }