Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Published On Dec. 12th 2014

Testing Jargon: Mocks

Episode 2 Run Time 9:16

Download

A mock offers us a useful way to set expecations on messages that should be sent, without actually sending those messages. It sounds confusing, so let's talk about it for a bit.