PHPUnit_Framework_MockObject_Builder_Match
interface PHPUnit_Framework_MockObject_Builder_Match implements PHPUnit_Framework_MockObject_Builder_Stub (View source)
Builder interface for invocation order matches.
Methods
id(string $id)
Sets the identification of the expectation to $id.
will(PHPUnit_Framework_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.
after(string $id)
Defines the expectation which must occur before the current is valid.
Details
id(string $id)
Sets the identification of the expectation to $id.
PHPUnit_Framework_MockObject_Builder_Identity
will(PHPUnit_Framework_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.
at line 24
PHPUnit_Framework_MockObject_Builder_Stub
after(string $id)
Defines the expectation which must occur before the current is valid.