How can I test with a function whether another function is being executed?

2 Likes