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

  • OauthPluginTest
  • Overview
  • Namespace
  • Class
  • Tree

Class OauthPluginTest

PHPUnit_Framework_TestCase
Extended by Guzzle\Tests\GuzzleTestCase
Extended by Guzzle\Tests\Plugin\Oauth\OauthPluginTest
Namespace: Guzzle\Tests\Plugin\Oauth
Covers: Guzzle\Plugin\Oauth\OauthPlugin
Located at tests/Guzzle/Tests/Plugin/Oauth/OauthPluginTest.php
Methods summary
protected
# getRequest( )
public
# testSubscribesToEvents( )
public
# testAcceptsConfigurationData( )
public
# testCreatesStringToSignFromPostRequest( )
public
# testCreatesStringToSignIgnoringPostFields( )
public
# testCreatesStringToSignFromPostRequestWithCustomContentType( )
public
# testConvertsBooleansToStrings( )

Depends

testCreatesStringToSignFromPostRequest
public
# testCreatesStringToSignFromPostRequestWithNullValues( )
public
# testMultiDimensionalArray( )

Depends

testCreatesStringToSignFromPostRequest
public
# testMultiDimensionalArrayWithNonDefaultQueryAggregator( )

Depends

testMultiDimensionalArray
public
# testSignsStrings( )

Depends

testCreatesStringToSignFromPostRequest
public
# testSignsOauthRequests( )

Test that the Oauth is signed correctly and that extra strings haven't been added to the authorization header.

Test that the Oauth is signed correctly and that extra strings haven't been added to the authorization header.

public
# testSignsOauthQueryStringRequest( )
public
# testInvalidArgumentExceptionOnMethodError( )

Expectedexception

\InvalidArgumentException
public
# testDoesNotAddFalseyValuesToAuthorization( )
public
# testOptionalOauthParametersAreNotAutomaticallyAdded( )
Methods inherited from Guzzle\Tests\GuzzleTestCase
addMockedRequest(), assertContainsIns(), compareHeaders(), getMockResponse(), getMockedRequests(), getServer(), getServiceBuilder(), getWildcardObserver(), hasSubscriber(), setMockBasePath(), setMockResponse(), setServiceBuilder()
Constants summary
string TIMESTAMP
# '1327274290'
string NONCE
# 'e7aa11195ca58349bec8b5ebe351d3497eb9e603'
Properties summary
protected array $config
# array( 'consumer_key' => 'foo', 'consumer_secret' => 'bar', 'token' => 'count', 'token_secret' => 'dracula' )
Properties inherited from Guzzle\Tests\GuzzleTestCase
$mockBasePath, $mockObserver, $server, $serviceBuilder
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen