Just a quick helper method you can add to your base
TestCase to make it easy to toggle exception handling on the fly. Improved a little bit from the sloppier version I used in the screencast :)
At some point since I originally shared this snippet and the accompanying screencast, Laravel started binding
App\Exceptions\Handler under the
Illuminate\Contracts\Debug\ExceptionHandler interface instead of the concrete class, so I've updated the files below to account for that.