Method | Description | |
---|---|---|
provideTestGetInvocations ( ) : array | Returns test cases for testGetInvocations(). | |
testDefaultFunction ( ) | Tests the default function. | |
testException ( ) | An exception should still be recorded. | |
testGetInvocations ( array $expected, string $name, callable $invocations ) | Tests spying. | |
testNoException ( ) | Test the invocation of a none exception call. |
Method | Description | |
---|---|---|
defineFunction ( $namespace, $functionName ) | ||
disableMocks ( ) | ||
mockFunction ( $namespace, $functionName, callable $function ) |
protected mockFunction ( $namespace, $functionName, callable $function ) | ||
$function | callable |
public provideTestGetInvocations ( ) : array | ||
return | array | Test cases for testGetInvocations. |
public testNoException ( ) |