you can use `MessageManager.deleteMessages.callCount`, see http://sinonjs.org/docs/#spies-api