Actually, can't you just use sinon.match.instanceOf(loop.shared.views.ConversationView) rather than a custom matcher?