Method | Description | |
---|---|---|
getInstance ( ) : |
Returns the singleton. | |
getMock ( string $fqfn ) : |
Returns the registered mock. | |
isRegistered ( |
Returns true if the mock is already registered. | |
register ( |
Registers a mock. | |
unregister ( |
Unregisters a mock. | |
unregisterAll ( ) | Unregisters all mocks. |
public static getInstance ( ) : |
||
return | The singleton. |
public isRegistered ( |
||
$mock | The mock. | |
return | boolean | True if the mock is registered. |
public unregister ( |
||
$mock | The mock. |