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. 16th 2014

Testing Jargon: Dummies

Episode 4 Run Time 4:02

Download

Don't worry: a dummy is really easy to understand. If a stub offers us a way to return pre-defined values for method calls, then a dummy strips that all away. They're the perfect stand-ins for collaborators that we don't care about.