Published On Feb. 25th 2016

Testing Laravel: PHPUnit Prophecies

Episode 13 Run Time 18:36

While we've been focusing a lot of our energy on outside-in testing, the reality is that, as you dig deeper toward the unit level, you'll often need to create mock objects, stubs, and more. In this lesson, we'll learn how to use the excellent Prophecy framework, which is built into PHPUnit these days.