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

Class: PHPUnit2_Extensions_MockObject_Matcher_InvokedCount

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

Class Overview

PHPUnit2_Extensions_MockObject_Matcher_InvokedRecorder
   |
   --PHPUnit2_Extensions_MockObject_Matcher_InvokedCount

Invocation matcher which checks if a method has been invoked a certain amount of times.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Inherited Variables

Inherited Methods


Class Details

[line 73]
Invocation matcher which checks if a method has been invoked a certain amount of times.

If the number of invocations exceeds the value it will immediately throw an exception, If the number is less it will later be checked in verify() and also throw an exception.



[ Top ]


Method Detail

invoked   [line 87]

void invoked( mixed PHPUnit2_Extensions_MockObject_Invocation$invocation)


Overrides PHPUnit2_Extensions_MockObject_Matcher_InvokedRecorder::invoked() (parent method not documented)
[ Top ]

toString   [line 82]

void toString( )


[ Top ]

verify   [line 105]

void verify( )


[ Top ]


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