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

Class: PHPUnit2_Extensions_MockObject_Matcher

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

Class Overview


Main matcher which defines a full expectation using method, parameter and invocation matchers.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 76]
Main matcher which defines a full expectation using method, parameter and invocation matchers.

This matcher encapsulates all the other matchers and allows the builder to set the specific matchers when the appropriate methods are called (once(), where() etc.).

All properties are public so that they can easily be accessed by the builder.



[ Top ]


Class Variables

$afterMatchBuilderId =  NULL

[line 80]

  • Access: public

Type:   mixed


[ Top ]

$afterMatchBuilderIsInvoked =  FALSE

[line 82]

  • Access: public

Type:   mixed


[ Top ]

$invocationMatcher =

[line 78]

  • Access: public

Type:   mixed


[ Top ]

$methodNameMatcher =  NULL

[line 84]

  • Access: public

Type:   mixed


[ Top ]

$parametersMatcher =  NULL

[line 86]

  • Access: public

Type:   mixed


[ Top ]

$stub =  NULL

[line 88]

  • Access: public

Type:   mixed


[ Top ]



Method Detail

__construct (Constructor)   [line 90]

PHPUnit2_Extensions_MockObject_Matcher __construct( PHPUnit2_Extensions_MockObject_Matcher_Invocation $invocationMatcher)

  • Access: public

Parameters:

PHPUnit2_Extensions_MockObject_Matcher_Invocation   $invocationMatcher   — 

[ Top ]

invoked   [line 122]

void invoked( PHPUnit2_Extensions_MockObject_Invocation $invocation)

  • Access: public

Parameters:

PHPUnit2_Extensions_MockObject_Invocation   $invocation   — 

[ Top ]

matches   [line 181]

void matches( PHPUnit2_Extensions_MockObject_Invocation $invocation)

  • Access: public

Parameters:

PHPUnit2_Extensions_MockObject_Invocation   $invocation   — 

[ Top ]

toString   [line 95]

void toString( )

  • Access: public

[ Top ]

verify   [line 241]

void verify( )

  • Access: public

[ Top ]


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