just use `sinon.assert.calledWithMatch(ActivityHandler.toView, { threadId: null, number: '123' })`