Update function-mocks.php

Add a mock function