\ShmockShmockers

Include this in instances of PHPUnit_Framework_TestCase to make Shmock easily accessible

Summary

Methods
Properties
Constants
shmock()
shmock_class()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

shmock()

shmock( $clazz,  $closure) : mixed

Parameters

$clazz
$closure

Returns

mixed

shmock_class()

shmock_class( $clazz,  $closure) : string

Parameters

$clazz
$closure

Returns

string —

the name of the mock class