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
    • Fatzebra
      • Message
  • PHP

Classes

  • OperationTest
  • ParameterTest
  • SchemaFormatterTest
  • SchemaValidatorTest
  • ServiceDescriptionLoaderTest
  • ServiceDescriptionTest
  • Overview
  • Namespace
  • Class
  • Tree

Class ParameterTest

PHPUnit_Framework_TestCase
Extended by Guzzle\Tests\GuzzleTestCase
Extended by Guzzle\Tests\Service\Description\ParameterTest
Namespace: Guzzle\Tests\Service\Description
Covers: Guzzle\Service\Description\Parameter
Located at tests/Guzzle/Tests/Service/Description/ParameterTest.php
Methods summary
public
# testCreatesParamFromArray( )
public
# testCanConvertToArray( )
public
# testUsesStatic( )
public
# testUsesDefault( )
public
# testReturnsYourValue( )
public
# testZeroValueDoesNotCauseDefaultToBeReturned( )
public
# testFiltersValues( )
public
# testConvertsBooleans( )
public
# testUsesArrayByDefaultForFilters( )
public
# testAllowsSimpleLocationValue( )
public
# testParsesTypeValues( )
public
# testValidatesComplexFilters( )

Expectedexception

InvalidArgumentException

Expectedexceptionmessage

A [method] value must be specified for each complex filter
public
# testCanBuildUpParams( )
public
# testAllowsNestedShape( )
public
# testAllowsComplexFilters( )
public
# testCanChangeParentOfNestedParameter( )
public
# testCanRemoveFromNestedStructure( )
public
# testAddsAdditionalProperties( )
public
# testAddsItems( )
public
# testHasExtraProperties( )
public
# testCanRetrieveKnownPropertiesUsingDataMethod( )
public
# testHasInstanceOf( )
public
# testHasPattern( )
public
# testHasEnum( )
public
# testSerializesItems( )
public
# testResolvesRefKeysRecursively( )
public
# testResolvesExtendsRecursively( )
public
# testHasKeyMethod( )
public
# testIncludesNameInToArrayWhenItemsAttributeHasName( )
public
# dateTimeProvider( )
public
# testAppliesFormat( $d, $format, $result )

Dataprovider

dateTimeProvider
Methods inherited from Guzzle\Tests\GuzzleTestCase
addMockedRequest(), assertContainsIns(), compareHeaders(), getMockResponse(), getMockedRequests(), getServer(), getServiceBuilder(), getWildcardObserver(), hasSubscriber(), setMockBasePath(), setMockResponse(), setServiceBuilder()
Properties summary
protected array $data
# array( 'name' => 'foo', 'type' => 'bar', 'required' => true, 'default' => '123', 'description' => '456', 'minLength' => 2, 'maxLength' => 5, 'location' => 'body', 'static' => 'static!', 'filters' => array('trim', 'json_encode') )
Properties inherited from Guzzle\Tests\GuzzleTestCase
$mockBasePath, $mockObserver, $server, $serviceBuilder
Omnipay Fat Zebra / Paystream Gateway Module API Documentation API documentation generated by ApiGen