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

  • AbstractConfigLoaderTest
  • CachingConfigLoaderTest
  • ClientTest
  • ServiceBuilderTest
  • Overview
  • Namespace
  • Class
  • Tree

Class ServiceBuilderTest

PHPUnit_Framework_TestCase
Extended by Guzzle\Tests\GuzzleTestCase
Extended by Guzzle\Tests\Service\ServiceBuilderTest
Namespace: Guzzle\Tests\Service
Covers: Guzzle\Service\Builder\ServiceBuilder
Located at tests/Guzzle/Tests/Service/Builder/ServiceBuilderTest.php
Methods summary
public
# testAllowsSerialization( )
public
# testDelegatesFactoryMethodToAbstractFactory( )
public
# testThrowsExceptionWhenGettingInvalidClient( )

Expectedexception

Guzzle\Service\Exception\ServiceNotFoundException

Expectedexceptionmessage

No service is registered as foobar
public
# testStoresClientCopy( )
public
# testBuildersPassOptionsThroughToClients( )
public
# testUsesTheDefaultBuilderWhenNoBuilderIsSpecified( )
public
# testUsedAsArray( )
public
# testFactoryCanCreateFromJson( )
public
# testFactoryCanCreateFromArray( )
public
# testFactoryDoesNotRequireParams( )
public
# testBuilderAllowsReferencesBetweenClients( )
public
# testEmitsEventsWhenClientsAreCreated( )
public
# testCanAddGlobalParametersToServicesOnLoad( )
public
# testAddsGlobalPlugins( )
public
# testCanGetData( )
public
# testCanGetByAlias( )
public
# testCanOverwriteParametersForThrowawayClients( )
public
# testGettingAThrowawayClientWithParametersDoesNotAffectGettingOtherClients( )
public
# testCanUseArbitraryData( )
public
# testCanRegisterServiceData( )
Methods inherited from Guzzle\Tests\GuzzleTestCase
addMockedRequest(), assertContainsIns(), compareHeaders(), getMockResponse(), getMockedRequests(), getServer(), getServiceBuilder(), getWildcardObserver(), hasSubscriber(), setMockBasePath(), setMockResponse(), setServiceBuilder()
Properties summary
protected array $arrayData
# array( 'michael.mock' => array( 'class' => 'Guzzle\Tests\Service\Mock\MockClient', 'params' => array( 'username' => 'michael', 'password' => 'testing123', 'subdomain' => 'michael', ), ), 'billy.mock' => array( 'alias' => 'Hello!', 'class' => 'Guzzle\Tests\Service\Mock\MockClient', 'params' => array( 'username' => 'billy', 'password' => 'passw0rd', 'subdomain' => 'billy', ), ), 'billy.testing' => array( 'extends' => 'billy.mock', 'params' => array( 'subdomain' => 'test.billy', ), ), 'missing_params' => array( 'extends' => 'billy.mock' ) )
Properties inherited from Guzzle\Tests\GuzzleTestCase
$mockBasePath, $mockObserver, $server, $serviceBuilder
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen