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

Class: PHPUnit2_Extensions_MockObject_Matcher_MethodName

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

Class Overview

PHPUnit2_Extensions_MockObject_Matcher_StatelessInvocation
   |
   --PHPUnit2_Extensions_MockObject_Matcher_MethodName

Invocation matcher which looks for a specific method name in the invocations.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Inherited Variables

Inherited Methods


Class Details

[line 74]
Invocation matcher which looks for a specific method name in the invocations.

Checks the method name all incoming invocations, the name is checked against the defined constraint $constraint. If the constraint is met it will return true in matches().



[ Top ]


Method Detail

matches   [line 92]

void matches( mixed PHPUnit2_Extensions_MockObject_Invocation$invocation)


[ Top ]

toString   [line 87]

void toString( )


[ Top ]


Documentation generated on Tue, 12 Sep 2006 09:37:18 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.