| Macro | Description | Example |
|---|---|---|
| FAKE_VOID_FUNC{n}(fn [,arg_types*]); | Define a fake function named fn returning void with n arguments | FAKE_VOID_FUNC1(DISPLAY_output_message, const char*); |
| FAKE_VALUE_FUNC{n}(return_type, fn [,arg_types*]); | Define a fake function returning a value with type return_type taking n arguments | FAKE_VALUE_FUNC0(int, DISPLAY_get_line_insert_index); |
| RESET_FAKE(fn); | Reset the state of fake function called fn | RESET_FAKE(DISPLAY_init); |
| RESET_FAKES(); | Reset all defined fakes | RESET_FAKES(); |