Back to the Learning

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.

Small Objects Make Testing Easy

Run Time 10:34

As a follow-up to "Small Objects and Refactoring Stories," in this lesson, I want to demonstrate how easy it is to test our code (using PHPSpec), when we take some time to think about design, and the messages that our objects send to one another.

View the source for this lesson on GitHub.

This lesson was published on September 16, 2014.