class PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount extends PHPUnit_Framework_MockObject_Matcher_InvokedRecorder (View source)

Invocation matcher which checks if a method has been invoked zero or more times. This matcher will always match.

Properties

protected PHPUnit_Framework_MockObject_Invocation[] $invocations from PHPUnit_Framework_MockObject_Matcher_InvokedRecorder

Methods

Details

int getInvocationCount()

Return Value

int

bool hasBeenInvoked()

Return Value

bool

mixed invoked(PHPUnit_Framework_MockObject_Invocation $invocation)

Parameters

PHPUnit_Framework_MockObject_Invocation $invocation Object containing information on a mocked or stubbed method which was invoked

Return Value

mixed

bool matches(PHPUnit_Framework_MockObject_Invocation $invocation)

Parameters

PHPUnit_Framework_MockObject_Invocation $invocation Object containing information on a mocked or stubbed method which was invoked

Return Value

bool

string toString()

Return Value

string

verify()