you can use:
`sinon.assert.calledWith(ThreadListUI.removeThread, message.threadId)`