Méthode |
Description |
|
__construct ( ) |
Sets up an empty response schedule. Creates an empty call map. |
|
expectArguments ( string $method, array $args, string $message ) |
Sets up an expectation on the argument list. |
|
register ( string $method, array $args, SimpleAction $action ) |
Stores an action against a signature
that will always fire unless masked by a time specific one. |
|
registerAt ( integer $step, string $method, array $args, SimpleAction $action ) |
Stores an action against a signature that will fire at a specific time in the future. |
|
respond ( integer $step, string $method, array $args ) : mixed |
Actually carry out the action stored previously, if the parameters match. |
|