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

  • AbstractMessageTest
  • EntityEnclosingRequestTest
  • HeaderComparison
  • HeaderTest
  • HttpRequestFactoryTest
  • PostFileTest
  • RequestTest
  • Overview
  • Namespace
  • Class
  • Tree

Class HttpRequestFactoryTest

PHPUnit_Framework_TestCase
Extended by Guzzle\Tests\GuzzleTestCase
Extended by Guzzle\Tests\Http\Message\HttpRequestFactoryTest
Namespace: Guzzle\Tests\Http\Message
Covers: Guzzle\Http\Message\RequestFactory
Group: server
Located at tests/Guzzle/Tests/Http/Message/RequestFactoryTest.php
Methods summary
public
# testCachesSingletonInstance( )
public
# testCreatesNewGetRequests( )
public
# testCreatesPutRequests( )
public
# testCreatesHeadAndDeleteRequests( )
public
# testCreatesOptionsRequests( )
public
# testCreatesNewPutRequestWithBody( )
public
# testCreatesNewPostRequestWithFields( )
public
# testCreatesFromParts( )
public
# testCreatesFromMessage( )
public
# testCreatesNewTraceRequest( )
public
# testCreatesProperTransferEncodingRequests( )
public
# testProperlyDealsWithDuplicateHeaders( )
public
# testCreatesHttpMessagesWithBodiesAndNormalizesLineEndings( )
public
# testBugPathIncorrectlyHandled( )
public
# testHandlesChunkedTransferEncoding( )
public
# testClonesRequestsWithMethodWithoutClient( )
public
# testClonesRequestsWithMethodWithClient( )
public
# testClonesRequestsWithMethodWithClientWithEntityEnclosingChange( )
public
# testCanDisableRedirects( )
public
# testCanAddCookies( )
public
# testCanAddQueryString( )
public
# testCanSetDefaultQueryString( )
public
# testCanAddBasicAuth( )
public
# testCanAddDigestAuth( )
public
# testCanAddEvents( )
public
# testCanAddEventsWithPriority( )
public
# testCanAddPlugins( )
public
# testCanDisableExceptions( )
public
# testCanDisableExceptionsWithErrorListener( )
public
# testCanChangeSaveToLocation( )
public
# testCanSetProxy( )
public
# testCanSetHeadersOption( )
public
# testCanSetDefaultHeadersOptions( )
public
# testCanSetBodyOption( )
public
# testValidatesBodyOption( )

Expectedexception

\InvalidArgumentException
public
# testCanSetTimeoutOption( )
public
# testCanSetConnectTimeoutOption( )
public
# testCanSetDebug( )
public
# testCanSetVerifyToOff( )
public
# testCanSetVerifyToOn( )
public
# testCanSetVerifyToPath( )
public
# inputValidation( )
public
# testValidatesInput( $option )

Dataprovider

inputValidation

Expectedexception

\Guzzle\Common\Exception\InvalidArgumentException
public
# testCanAddRequestParams( )
public
# testCanAddSslKey( )
public
# testCanAddSslKeyPassword( )
public
# testCanAddSslCert( )
public
# testCanAddSslCertPassword( )
public
# testCreatesBodyWithoutZeroString( )
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