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

Class: PHPUnit2_Extensions_MockObject_Matcher_StatelessInvocation

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

Class Overview


Invocation matcher which does not care about previous state from earlier invocations.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Child classes:

PHPUnit2_Extensions_MockObject_Matcher_Parameters
Invocation matcher which looks for specific parameters in the invocations.
PHPUnit2_Extensions_MockObject_Matcher_MethodName
Invocation matcher which looks for a specific method name in the invocations.
PHPUnit2_Extensions_MockObject_Matcher_AnyParameters
Invocation matcher which allos any parameters to a method.

Inherited Variables

Inherited Methods


Class Details

[line 73]
Invocation matcher which does not care about previous state from earlier invocations.

This abstract class can be implemented by matchers which does not care about state but only the current run-time value of the invocation itself.



[ Top ]


Method Detail

invoked   [line 75]

void invoked( PHPUnit2_Extensions_MockObject_Invocation $invocation)

  • Access: public

Parameters:

PHPUnit2_Extensions_MockObject_Invocation   $invocation   — 

[ Top ]

verify   [line 79]

void verify( )

  • Access: public

Overridden in child classes as:

PHPUnit2_Extensions_MockObject_Matcher_Parameters::verify()

[ Top ]


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