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

Class: PHPUnit2_Extensions_MockObject_Builder_Stub

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

Class Overview

PHPUnit2_Extensions_MockObject_Builder_Identity
   |
   --PHPUnit2_Extensions_MockObject_Builder_Stub

Builder interface for stubs which are actions replacing an invocation.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Child classes:

PHPUnit2_Extensions_MockObject_Builder_Match
Builder interface for invocation order matches.

Inherited Variables

Inherited Methods


Class Details

[line 68]
Builder interface for stubs which are actions replacing an invocation.


[ Top ]


Method Detail

will   [line 77]

PHPUnit2_Extensions_MockObject_Builder_Identity will( PHPUnit2_Extensions_MockObject_Stub $stub)

Stubs the matching method with the stub object $stub. Any invocations of the matched method will now be handled by the stub instead.
  • Access: public

Parameters:

PHPUnit2_Extensions_MockObject_Stub   $stub   —  The stub object.

[ Top ]


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