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

Class: PHPUnit2_Extensions_MockObject_Builder_Identity

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

Class Overview


Builder interface for unique identifiers.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Child classes:

PHPUnit2_Extensions_MockObject_Builder_Stub
Builder interface for stubs which are actions replacing an invocation.

Inherited Variables

Inherited Methods


Class Details

[line 72]
Builder interface for unique identifiers.

Defines the interface for recording unique identifiers. The identifiers can be used to define the invocation order of expectations. The expectation is recorded using id() and then defined in order using PHPUnit2_Extensions_MockObject_Builder_Match::after().



[ Top ]


Method Detail

id   [line 80]

void id( string $id)

Sets the identification of the expectation to $id.
  • Access: public

Parameters:

string   $id   —  Unique identifiation of expectation.

[ Top ]


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