Yes, this is fine. There is no "correct" way though. You can use sinon.spy() however you see fit.