Bug 1003843 - Follow up to Bug 951676 - [Messages][Refresh] Add specific image in case of more than one recipient in the list threads. r=schung

you can stub Utils.Promise.defer and make it return something you control (like the same resolved promise). But I'm not sure this is better (because Utils.Promise.defer is really just a tool and not a real API we should stub). You're still using how setContact is working internally and this is not quite right.

How about just making setContact return a promise ? :)