Use correct syntax for mocking with hash.

Move it into a section for setting multiple message expectations.