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

  • MockPluginTest
  • Overview
  • Namespace
  • Class
  • Tree

Class MockPluginTest

PHPUnit_Framework_TestCase
Extended by Guzzle\Tests\GuzzleTestCase
Extended by Guzzle\Tests\Plugin\Mock\MockPluginTest
Namespace: Guzzle\Tests\Plugin\Mock
Covers: Guzzle\Plugin\Mock\MockPlugin
Located at tests/Guzzle/Tests/Plugin/Mock/MockPluginTest.php
Methods summary
public
# testDescribesSubscribedEvents( )
public
# testDescribesEvents( )
public
# testCanBeTemporary( )
public
# testIsCountable( )
public
# testCanClearQueue( )

Depends

testIsCountable
public
# testCanInspectQueue( )
public
# testRetrievesResponsesFromFiles( )
public
# testThrowsExceptionWhenResponseFileIsNotFound( )

Expectedexception

InvalidArgumentException
public
# testInvalidResponsesThrowAnException( )

Expectedexception

InvalidArgumentException
public
# testAddsResponseObjectsToQueue( )
public
# testAddsResponseFilesToQueue( )
public
# testAddsMockResponseToRequestFromClient( )

Depends

testAddsResponseFilesToQueue
public
# testUpdateThrowsExceptionWhenEmpty( )

Depends

testAddsResponseFilesToQueue

Expectedexception

\OutOfBoundsException
public
# testDetachesTemporaryWhenEmpty( )

Depends

testAddsMockResponseToRequestFromClient
public
# testLoadsResponsesFromConstructor( )
public
# testStoresMockedRequests( )
public
# testReadsBodiesFromMockedRequests( )
public
# testCanMockBadRequestExceptions( )
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