Testing Guzzle 6 Responses with Laravel
March, 1st 2017
When testing api requests, it is often desirable to not actually hit an api most of the time. The exception, of course, is when you are running the integration tests that are specifically designed to hit the actual api. Fortunately, Guzzle 6 make this task very easy for us with the user of their Mock Handler...