you can use: `sinon.assert.calledOnce(ThreadListUI.removeThread)`