Open Journal Systems  3.3.0
Guzzle\Tests\Service\ClientTest Class Reference
Inheritance diagram for Guzzle\Tests\Service\ClientTest:
Guzzle\Tests\GuzzleTestCase

Public Member Functions

 setUp ()
 
 testAllowsCustomClientParameters ()
 
 testClientAddsGlobalCommandOptions ()
 
 testClientCreatesIterators ()
 
 testClientCreatesIteratorsWithCommands ()
 
 testClientCreatesIteratorsWithNoOptions ()
 
 testClientHoldsInflector ()
 
 testClientResetsRequestsBeforeExecutingCommands ()
 
 testCreatesCommandsUsingCommandFactory ()
 
 testDescribesEvents ()
 
 testExecutesCommands ()
 
 testExecutesCommandsWithArray ()
 
 testFactoryCreatesClient ()
 
 testFactoryDoesNotRequireBaseUrl ()
 
 testGetCommandAfterTwoSetDescriptions ()
 
 testMergesDefaultCommandParamsCorrectly ()
 
 testOwnsResourceIteratorFactory ()
 
 testOwnsServiceDescription ()
 
 testSupportsServiceDescriptionBaseUrls ()
 
 testThrowsExceptionWhenInvalidCommandIsExecuted ()
 
 testThrowsExceptionWhenMissingCommand ()
 
 testWrapsMultipleCommandExceptions ()
 
 testWrapsSingleCommandExceptions ()
 
- Public Member Functions inherited from Guzzle\Tests\GuzzleTestCase
 addMockedRequest (RequestInterface $request)
 
 assertContainsIns ($needle, $haystack, $message=null)
 
 compareHeaders ($filteredHeaders, $actualHeaders)
 
 getMockedRequests ()
 
 getMockResponse ($path)
 
 getWildcardObserver (HasDispatcherInterface $hasDispatcher)
 
 setMockResponse (Client $client, $paths)
 

Protected Attributes

 $service
 
 $serviceTest
 

Additional Inherited Members

- Static Public Member Functions inherited from Guzzle\Tests\GuzzleTestCase
static getServer ()
 
static getServiceBuilder ()
 
static setMockBasePath ($path)
 
static setServiceBuilder (ServiceBuilderInterface $builder)
 
- Data Fields inherited from Guzzle\Tests\GuzzleTestCase
 $mockObserver
 
- Static Public Attributes inherited from Guzzle\Tests\GuzzleTestCase
static $server
 
static $serviceBuilder
 
- Protected Member Functions inherited from Guzzle\Tests\GuzzleTestCase
 hasSubscriber (HasDispatcherInterface $dispatcher, EventSubscriberInterface $subscriber)
 
- Static Protected Attributes inherited from Guzzle\Tests\GuzzleTestCase
static $mockBasePath
 

Detailed Description

@group server

See also
Guzzle\Service\Client

Definition at line 20 of file Service/ClientTest.php.

Member Function Documentation

◆ setUp()

Guzzle\Tests\Service\ClientTest::setUp ( )

◆ testAllowsCustomClientParameters()

Guzzle\Tests\Service\ClientTest::testAllowsCustomClientParameters ( )

◆ testClientAddsGlobalCommandOptions()

Guzzle\Tests\Service\ClientTest::testClientAddsGlobalCommandOptions ( )

Definition at line 240 of file Service/ClientTest.php.

References Guzzle\Service\Client\COMMAND_PARAMS.

◆ testClientCreatesIterators()

Guzzle\Tests\Service\ClientTest::testClientCreatesIterators ( )

Definition at line 196 of file Service/ClientTest.php.

◆ testClientCreatesIteratorsWithCommands()

Guzzle\Tests\Service\ClientTest::testClientCreatesIteratorsWithCommands ( )

Definition at line 220 of file Service/ClientTest.php.

◆ testClientCreatesIteratorsWithNoOptions()

Guzzle\Tests\Service\ClientTest::testClientCreatesIteratorsWithNoOptions ( )

Definition at line 213 of file Service/ClientTest.php.

◆ testClientHoldsInflector()

Guzzle\Tests\Service\ClientTest::testClientHoldsInflector ( )

Definition at line 230 of file Service/ClientTest.php.

◆ testClientResetsRequestsBeforeExecutingCommands()

Guzzle\Tests\Service\ClientTest::testClientResetsRequestsBeforeExecutingCommands ( )

Definition at line 180 of file Service/ClientTest.php.

References Guzzle\Tests\GuzzleTestCase\getServer().

◆ testCreatesCommandsUsingCommandFactory()

Guzzle\Tests\Service\ClientTest::testCreatesCommandsUsingCommandFactory ( )

Definition at line 133 of file Service/ClientTest.php.

◆ testDescribesEvents()

Guzzle\Tests\Service\ClientTest::testDescribesEvents ( )

Definition at line 71 of file Service/ClientTest.php.

References Guzzle\Service\Client\getAllEvents().

◆ testExecutesCommands()

Guzzle\Tests\Service\ClientTest::testExecutesCommands ( )

Definition at line 76 of file Service/ClientTest.php.

References Guzzle\Tests\GuzzleTestCase\getServer().

◆ testExecutesCommandsWithArray()

Guzzle\Tests\Service\ClientTest::testExecutesCommandsWithArray ( )

Definition at line 90 of file Service/ClientTest.php.

◆ testFactoryCreatesClient()

Guzzle\Tests\Service\ClientTest::testFactoryCreatesClient ( )

Definition at line 55 of file Service/ClientTest.php.

References Guzzle\Service\Client\factory().

◆ testFactoryDoesNotRequireBaseUrl()

Guzzle\Tests\Service\ClientTest::testFactoryDoesNotRequireBaseUrl ( )

Definition at line 66 of file Service/ClientTest.php.

References Guzzle\Service\Client\factory().

◆ testGetCommandAfterTwoSetDescriptions()

Guzzle\Tests\Service\ClientTest::testGetCommandAfterTwoSetDescriptions ( )

◆ testMergesDefaultCommandParamsCorrectly()

Guzzle\Tests\Service\ClientTest::testMergesDefaultCommandParamsCorrectly ( )

Definition at line 259 of file Service/ClientTest.php.

References Guzzle\Service\Client\COMMAND_PARAMS.

◆ testOwnsResourceIteratorFactory()

Guzzle\Tests\Service\ClientTest::testOwnsResourceIteratorFactory ( )

Definition at line 163 of file Service/ClientTest.php.

◆ testOwnsServiceDescription()

Guzzle\Tests\Service\ClientTest::testOwnsServiceDescription ( )

Definition at line 153 of file Service/ClientTest.php.

◆ testSupportsServiceDescriptionBaseUrls()

Guzzle\Tests\Service\ClientTest::testSupportsServiceDescriptionBaseUrls ( )

Definition at line 251 of file Service/ClientTest.php.

◆ testThrowsExceptionWhenInvalidCommandIsExecuted()

Guzzle\Tests\Service\ClientTest::testThrowsExceptionWhenInvalidCommandIsExecuted ( )

@expectedException Guzzle\Common\Exception\InvalidArgumentException

Definition at line 110 of file Service/ClientTest.php.

◆ testThrowsExceptionWhenMissingCommand()

Guzzle\Tests\Service\ClientTest::testThrowsExceptionWhenMissingCommand ( )

@expectedException InvalidArgumentException

Definition at line 119 of file Service/ClientTest.php.

◆ testWrapsMultipleCommandExceptions()

◆ testWrapsSingleCommandExceptions()

Guzzle\Tests\Service\ClientTest::testWrapsSingleCommandExceptions ( )

@expectedException \Guzzle\Http\Exception\BadResponseException

Definition at line 275 of file Service/ClientTest.php.

Field Documentation

◆ $service

Guzzle\Tests\Service\ClientTest::$service
protected

Definition at line 22 of file Service/ClientTest.php.

◆ $serviceTest

Guzzle\Tests\Service\ClientTest::$serviceTest
protected

Definition at line 23 of file Service/ClientTest.php.


The documentation for this class was generated from the following file: