you can use: `sinon.assert.calledTwice(ThreadListUI.appendThread)`