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

Class: PHPUnit2_Extensions_MockObject_Matcher_InvokedAtLeastOnce

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

Class Overview

PHPUnit2_Extensions_MockObject_Matcher_InvokedRecorder
   |
   --PHPUnit2_Extensions_MockObject_Matcher_InvokedAtLeastOnce

Invocation matcher which checks if a method has been invoked at least one time.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Inherited Variables

Inherited Methods


Class Details

[line 71]
Invocation matcher which checks if a method has been invoked at least one time.

If the number of invocations is 0 it will throw an exception in verify.



[ Top ]


Method Detail

toString   [line 73]

void toString( )

  • Access: public

[ Top ]

verify   [line 78]

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.