This is the way by Sinon