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

  • AbstractHasAdapterTest
  • CollectionTest
  • EventTest
  • VersionTest
  • Overview
  • Namespace
  • Class
  • Tree

Class CollectionTest

PHPUnit_Framework_TestCase
Extended by Guzzle\Tests\GuzzleTestCase
Extended by Guzzle\Tests\Common\CollectionTest
Namespace: Guzzle\Tests\Common
Covers: Guzzle\Common\Collection
Located at tests/Guzzle/Tests/Common/CollectionTest.php
Methods summary
protected
# setUp( )
public
# testConstructorCanBeCalledWithNoParams( )
public
# testConstructorCanBeCalledWithParams( )
public
# testImplementsIteratorAggregate( )
public
# testCanAddValuesToExistingKeysByUsingArray( )
public
# testHandlesMergingInDisparateDataSources( )
public
# testCanClearAllDataOrSpecificKeys( )
public
# testGetsValuesByKey( )
public
# testProvidesKeys( )
public
# testChecksIfHasKey( )
public
# testChecksIfHasValue( )
public
# testCanGetAllValuesByArray( )
public
# testImplementsCount( )
public
# testAddParamsByMerging( )
public
# testAllowsFunctionalFilter( )
public
# testAllowsFunctionalMapping( )
public
# testImplementsArrayAccess( )
public
# testUsesStaticWhenCreatingNew( )
public
# testCanReplaceAllData( )
public
# dataProvider( )
public
# testInjectsConfigData( $output, $input, $config )

Dataprovider

dataProvider
public
# testCanSearchByKey( )
public
# testPreparesFromConfig( )
public
# falseyDataProvider( )
public
# testReturnsCorrectData( $a, $b )

Dataprovider

falseyDataProvider
public
# testRetrievesNestedKeysUsingPath( )
public
# testFalseyKeysStillDescend( )
public
# getPathProvider( )
public
# testGetPath( Guzzle\Common\Collection $c, $path, $expected, $separator = '/' )

Dataprovider

getPathProvider
public
# testOverridesSettings( )
public
# testOverwriteWithCollection( )
public
# testOverwriteWithTraversable( )
public
# testCanSetNestedPathValueThatDoesNotExist( )
public
# testCanSetNestedPathValueThatExists( )
public
# testVerifiesNestedPathIsValidAtExactLevel( )

Expectedexception

\Guzzle\Common\Exception\RuntimeException
public
# testVerifiesThatNestedPathIsValidAtAnyLevel( )

Expectedexception

\Guzzle\Common\Exception\RuntimeException
Methods inherited from Guzzle\Tests\GuzzleTestCase
addMockedRequest(), assertContainsIns(), compareHeaders(), getMockResponse(), getMockedRequests(), getServer(), getServiceBuilder(), getWildcardObserver(), hasSubscriber(), setMockBasePath(), setMockResponse(), setServiceBuilder()
Properties summary
protected Guzzle\Common\Collection $coll
#
Properties inherited from Guzzle\Tests\GuzzleTestCase
$mockBasePath, $mockObserver, $server, $serviceBuilder
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen