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

Class: PHPUnit2_Extensions_MockObject_Builder_Match

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

Class Overview

PHPUnit2_Extensions_MockObject_Builder_Identity
   |
   --PHPUnit2_Extensions_MockObject_Builder_Stub
      |
      --PHPUnit2_Extensions_MockObject_Builder_Match

Builder interface for invocation order matches.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Child classes:

PHPUnit2_Extensions_MockObject_Builder_ParametersMatch
Builder interface for parameter matchers.

Inherited Variables

Inherited Methods

Class: PHPUnit2_Extensions_MockObject_Builder_Stub

PHPUnit2_Extensions_MockObject_Builder_Stub::will()
Stubs the matching method with the stub object $stub. Any invocations of the matched method will now be handled by the stub instead.

Class: PHPUnit2_Extensions_MockObject_Builder_Identity

PHPUnit2_Extensions_MockObject_Builder_Identity::id()
Sets the identification of the expectation to $id.

Class Details

[line 68]
Builder interface for invocation order matches.


[ Top ]


Method Detail

after   [line 77]

PHPUnit2_Extensions_MockObject_Builder_Stub after( string $id)

Defines the expectation which must occur before the current is valid.
  • Access: public

Parameters:

string   $id   —  The identification of the expectation that should occur before this one.

[ Top ]


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