PHPUnit_Framework_MockObject_Builder_Stub
interface PHPUnit_Framework_MockObject_Builder_Stub implements PHPUnit_Framework_MockObject_Builder_Identity (View source)
Builder interface for stubs which are actions replacing an invocation.
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.
Details
id(string $id)
Sets the identification of the expectation to $id.
at line 24
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.