Mohamed shows how you can deal with N+1 problems using the $with model attribute and the newly added Model::preventLazyLoading() method.
PHP
5 Ways to Extract Value from Overmocked Tests
Tomas shares his approach to get the most out of mocks, drop dead code, and make tests more valuable. Read more