yieldTo and yieldsTo are really different things, and I was asking you to use yieldTo anyway, so all is good :)

For the record: yieldTo will call the method "each" that was passed last time "getMessages" was called, when you call yieldTo, whereas yieldsTo configures the stub to call the method "each" each time "getMessages" is called.