I\'d like to know how to test mock function or spy on function to be called.
This is just example code. testTarget.js