1. right click on a function or function pointer declaration or definition 2. select create mock 3. change the suggested name for the mock 4. select which file to put the mock function 5. find the mock function at the end of the selected file