Overview

Namespaces

  • Composer
    • Autoload
  • Guzzle
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Mock
    • Stream
  • Mockery
    • Adapter
      • Phpunit
    • CountValidator
    • Exception
    • Generator
      • StringManipulation
        • Pass
    • Loader
    • Matcher
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • Fatzebra
      • Message
  • PHP
  • Symfony
    • Component
      • EventDispatcher
        • Debug
        • DependencyInjection
        • Tests
          • Debug
          • DependencyInjection
      • HttpFoundation
        • File
          • Exception
          • MimeType
        • Session
          • Attribute
          • Flash
          • Storage
            • Handler
            • Proxy
        • Tests
          • File
            • MimeType
          • Session
            • Attribute
            • Flash
            • Storage
              • Handler
              • Proxy
      • Yaml
        • Exception
        • Tests

Classes

  • CompositeExpectation
  • Configuration
  • Container
  • Expectation
  • ExpectationDirector
  • Loader
  • MethodCall
  • Mock
  • ReceivedMethodCalls
  • Recorder
  • Undefined
  • VerificationDirector
  • VerificationExpectation

Interfaces

  • Exception
  • ExpectationInterface
  • MockInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class CompositeExpectation

Mockery\CompositeExpectation implements Mockery\ExpectationInterface
Namespace: Mockery
Located at Mockery/CompositeExpectation.php
Methods summary
public
# add( Mockery\Expectation|Mockery\CompositeExpectation $expectation )

Add an expectation to the composite

Add an expectation to the composite

Parameters

$expectation
public Mockery\CompositeExpectation
# andReturn( )

Returns

Mockery\CompositeExpectation

Implementation of

Mockery\ExpectationInterface::andReturn()
public Mockery\CompositeExpectation
# __call( string $method, array $args )

Intercept any expectation calls and direct against all expectations

Intercept any expectation calls and direct against all expectations

Parameters

$method
$args

Returns

Mockery\CompositeExpectation
public integer
# getOrderNumber( )

Return order number of the first expectation

Return order number of the first expectation

Returns

integer

Implementation of

Mockery\ExpectationInterface::getOrderNumber()
public Mockery\MockInterface
# getMock( )

Return the parent mock of the first expectation

Return the parent mock of the first expectation

Returns

Mockery\MockInterface

Implementation of

Mockery\ExpectationInterface::getMock()
public Mockery\MockInterface
# mock( )

Mockery API alias to getMock

Mockery API alias to getMock

Returns

Mockery\MockInterface
public Mockery\Expectation
# shouldReceive( )

Starts a new expectation addition on the first mock which is the primary target outside of a demeter chain

Starts a new expectation addition on the first mock which is the primary target outside of a demeter chain

Returns

Mockery\Expectation
public string
# __toString( )

Return the string summary of this composite expectation

Return the string summary of this composite expectation

Returns

string
Properties summary
protected array $_expectations

Stores an array of all expectations for this composite

Stores an array of all expectations for this composite

# array()
Omnipay Fat Zebra / Paystream Gateway Module API Documentation API documentation generated by ApiGen