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

  • AbstractCommandTest
  • AliasFactoryTest
  • ClosureCommandTest
  • CommandTest
  • CompositeFactoryTest
  • ConcreteClassFactoryTest
  • DefaultRequestSerializerTest
  • DefaultResponseParserTest
  • MapFactoryTest
  • OperationCommandTest
  • OperationResponseParserTest
  • ServiceDescriptionFactoryTest
  • VisitorFlyweightTest
  • Overview
  • Namespace
  • Class
  • Tree

Class CommandTest

PHPUnit_Framework_TestCase
Extended by Guzzle\Tests\GuzzleTestCase
Extended by Guzzle\Tests\Service\Command\AbstractCommandTest
Extended by Guzzle\Tests\Service\Command\CommandTest
Namespace: Guzzle\Tests\Service\Command
Covers: Guzzle\Service\Command\AbstractCommand
Located at tests/Guzzle/Tests/Service/Command/CommandTest.php
Methods summary
public
# testConstructorAddsDefaultParams( )
public
# testDeterminesShortName( )
public
# testGetRequestThrowsExceptionBeforePreparation( )

Expectedexception

RuntimeException
public
# testGetResponseExecutesCommandsWhenNeeded( )
public
# testGetResultExecutesCommandsWhenNeeded( )
public
# testSetClient( )
public
# testExecute( )
public
# testConvertsJsonResponsesToArray( )
public
# testConvertsInvalidJsonResponsesToArray( )

Expectedexception

\Guzzle\Common\Exception\RuntimeException
public
# testProcessResponseIsNotXml( )
public
# testExecuteThrowsExceptionWhenNoClientIsSet( )

Expectedexception

RuntimeException
public
# testPrepareThrowsExceptionWhenNoClientIsSet( )

Expectedexception

RuntimeException
public
# testCommandsAllowsCustomRequestHeaders( )
public
# testCommandsAllowsCustomRequestHeadersAsArray( )
public
# testCommandsUsesOperation( )
public
# testCloneMakesNewRequest( )
public
# testHasOnCompleteMethod( )
public
# testOnCompleteMustBeCallable( )

Expectedexception

\Guzzle\Common\Exception\InvalidArgumentException
public
# testCanSetResultManually( )
public
# testCanInitConfig( )
public
# testAddsCurlOptionsToRequestsWhenPreparing( )
public
# testIsInvokable( )
public
# testCreatesDefaultOperation( )
public
# testAllowsValidatorToBeInjected( )
public
# testCanDisableValidation( )
public
# testValidatorDoesNotUpdateNonDefaultValues( )
public
# testValidatorUpdatesDefaultValues( )
public
# testValidatesCommandBeforeSending( )

Expectedexception

\Guzzle\Service\Exception\ValidationException

Expectedexceptionmessage

[Foo] Baz
public
# testValidatesAdditionalParameters( )

Expectedexception

\Guzzle\Service\Exception\ValidationException

Expectedexceptionmessage

Validation errors: [abc] must be of type string
public
# testCanAccessValidationErrorsFromCommand( )
public
# testCanChangeResponseBody( )
Methods inherited from Guzzle\Tests\Service\Command\AbstractCommandTest
getClient()
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