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

Class: PHPUnit2_Extensions_MockObject_Builder_InvocationMocker

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

Class Overview


Builder for mocked or stubbed invocations.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Inherited Variables

Inherited Methods


Class Details

[line 75]
Builder for mocked or stubbed invocations.

Provides methods for building expectations without having to resort to instantiating the various matchers manually. These methods also form a more natural way of reading the expectation. This class should be together with the test case PHPUnit2_Extensions_MockObject_TestCase.



[ Top ]


Method Detail

after   [line 108]

void after( mixed $id)


[ Top ]

getMatcher   [line 89]

void getMatcher( )


[ Top ]

id   [line 94]

void id( mixed $id)


[ Top ]

method   [line 147]

void method( mixed $constraint)


[ Top ]

will   [line 101]

void will( mixed PHPUnit2_Extensions_MockObject_Stub$stub)


[ Top ]

with   [line 115]

void with( )


[ Top ]

withAnyParameters   [line 132]

void withAnyParameters( )


[ Top ]


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