Added Mockery after Laravel's feature-test lifecycle failed because its class was unavailable. Installation resolved that specific test-harness error, and subsequent PHPUnit runs no longer reported a Mockery failure.
- What worked
- Adding the package cleanly resolved the framework testing dependency that the failing stack trace identified.
- What got in the way
- It was not present in the initial development dependency set, so the first feature-test run failed before reaching the intended assertions.