Overview

Namespaces

  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
    • Tests
      • Batch
      • Cache
      • Common
        • Cache
        • Exception
      • Http
        • Curl
        • Exception
        • Message
          • Header
      • Inflection
      • Iterator
      • Log
      • Message
      • Mock
      • Parser
        • Cookie
        • Message
      • Parsers
        • UriTemplate
      • Plugin
        • Async
        • Backoff
        • Cache
        • Cookie
          • CookieJar
        • CurlAuth
        • ErrorResponse
        • History
        • Log
        • Md5
        • Mock
        • Oauth
        • Redirect
      • Service
        • Builder
        • Command
          • LocationVisitor
            • Request
            • Response
        • Description
        • Exception
        • Mock
          • Command
            • Sub
          • Model
        • Resource
      • Stream
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • VivaPayments
      • Message
  • PHP

Classes

  • AbstractEntityBodyDecoratorTest
  • CachingEntityBodyTest
  • ClientTest
  • CommaAggregatorTest
  • DuplicateAggregatorTest
  • EntityBodyTest
  • IoEmittingEntityBodyTest
  • MimetypesTest
  • PhpAggregatorTest
  • QueryStringTest
  • ReadLimitEntityBodyTest
  • Server
  • UrlTest
  • Overview
  • Namespace
  • Class
  • Tree

Class ClientTest

PHPUnit_Framework_TestCase
Extended by Guzzle\Tests\GuzzleTestCase
Extended by Guzzle\Tests\Http\ClientTest
Namespace: Guzzle\Tests\Http
Covers: Guzzle\Http\Client
Group: server
Located at tests/Guzzle/Tests/Http/ClientTest.php
Methods summary
public
# testAcceptsConfig( )
public
# testDescribesEvents( )
public
# testConstructorCanAcceptConfig( )
public
# testCanUseCollectionAsConfig( )
public
# testExpandsUriTemplatesUsingConfig( )
public
# testClientAttachersObserversToRequests( )
public
# testClientReturnsValidBaseUrls( )
public
# testClientAddsCurlOptionsToRequests( )
public
# testClientAllowsFineGrainedSslControlButIsSecureByDefault( )
public
# testConfigSettingsControlSslConfiguration( )
public
# testClientAllowsUnsafeOperationIfRequested( )
public
# testThrowsExceptionForInvalidCertificate( )

Expectedexception

\Guzzle\Common\Exception\RuntimeException
public
# testClientAllowsSettingSpecificSslCaInfo( )
public
# testClientPreventsInadvertentInsecureVerifyHostSetting( )

Expectedexception

Guzzle\Common\Exception\InvalidArgumentException
public
# testClientPreventsInvalidVerifyPeerSetting( )

Expectedexception

Guzzle\Common\Exception\InvalidArgumentException
public
# testClientAddsParamsToRequests( )
public
# urlProvider( )
public
# testBuildsRelativeUrls( $baseUrl, $url, $result )

Dataprovider

urlProvider
public
# testAllowsConfigsToBeChangedAndInjectedInBaseUrl( )
public
# testCreatesRequestsWithDefaultValues( )
public
# testClientHasHelperMethodsForCreatingRequests( )
public
# testClientInjectsConfigsIntoUrls( )
public
# testAllowsEmptyBaseUrl( )
public
# testAllowsCustomCurlMultiObjects( )
public
# testClientSendsMultipleRequests( )
public
# testClientSendsSingleRequest( )
public
# testClientThrowsExceptionForSingleRequest( )

Expectedexception

\Guzzle\Http\Exception\BadResponseException
public
# testClientThrowsExceptionForMultipleRequests( )

Expectedexception

\Guzzle\Common\Exception\ExceptionCollection
public
# testQueryStringsAreNotDoubleEncoded( )
public
# testQueryStringsAreNotDoubleEncodedUsingAbsolutePaths( )
public
# testAllowsUriTemplateInjection( )
public
# testAllowsCustomVariablesWhenExpandingTemplates( )
public
# testUriArrayAllowsCustomTemplateVariables( )
public
# testAllowsDefaultHeaders( )
public
# testDontReuseCurlMulti( )
public
# testGetDefaultUserAgent( )
public
# testOverwritesUserAgent( )
public
# testUsesDefaultUserAgent( )
public
# testCanSetDefaultRequestOptions( )
public
# testCanSetSetOptionsOnRequests( )
public
# testHasDefaultOptionsHelperMethods( )
public
# testHeadCanUseOptions( )
public
# testCanSetRelativeUrlStartingWithHttp( )
Methods inherited from Guzzle\Tests\GuzzleTestCase
addMockedRequest(), assertContainsIns(), compareHeaders(), getMockResponse(), getMockedRequests(), getServer(), getServiceBuilder(), getWildcardObserver(), hasSubscriber(), setMockBasePath(), setMockResponse(), setServiceBuilder()
Properties inherited from Guzzle\Tests\GuzzleTestCase
$mockBasePath, $mockObserver, $server, $serviceBuilder
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen