PHPUnit2
[ class tree: PHPUnit2 ] [ index: PHPUnit2 ] [ all elements ]

Class: PHPUnit2_Extensions_MockObject_InvocationMocker

Source Location: /PHPUnit2-3.0.0alpha11/Extensions/MockObject/InvocationMocker.php

Class Overview


Mocker for invocations which are sent from PHPUnit2_Extensions_MockObject_MockObject objects.


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2002-2006 Sebastian Bergmann <sb@sebastian-bergmann.de>

Methods


Inherited Variables

Inherited Methods


Class Details

[line 78]
Mocker for invocations which are sent from PHPUnit2_Extensions_MockObject_MockObject objects.

Keeps track of all expectations and stubs as well as registering identifications for builders.



[ Top ]


Method Detail

addMatcher   [line 84]

void addMatcher( PHPUnit2_Extensions_MockObject_Matcher_Invocation $matcher)

  • Access: public

Parameters:


[ Top ]

expects   [line 107]

void expects( PHPUnit2_Extensions_MockObject_Matcher_Invocation $matcher)

  • Access: public

Parameters:


[ Top ]

invoke   [line 114]

void invoke( PHPUnit2_Extensions_MockObject_Invocation $invocation)

  • Access: public

Parameters:

PHPUnit2_Extensions_MockObject_Invocation   $invocation   — 

[ Top ]

lookupId   [line 89]

void lookupId( $id)

  • Access: public

Parameters:

   $id   — 

[ Top ]

matches   [line 133]

void matches( PHPUnit2_Extensions_MockObject_Invocation $invocation)

  • Access: public

Parameters:

PHPUnit2_Extensions_MockObject_Invocation   $invocation   — 

[ Top ]

registerId   [line 98]

void registerId( $id, PHPUnit2_Extensions_MockObject_Builder_Match $builder)

  • Access: public

Parameters:

   $id   — 
PHPUnit2_Extensions_MockObject_Builder_Match   $builder   — 

[ Top ]

verify   [line 144]

void verify( )

  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:40:38 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.